From 0d8a36bd2839eb11a72a1d89472acd6a6ca168f0 Mon Sep 17 00:00:00 2001 From: Sergey Odinokov Date: Wed, 16 Oct 2024 14:09:49 +0700 Subject: [PATCH] Update using-dashboard.rst --- configuration/using-dashboard.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configuration/using-dashboard.rst b/configuration/using-dashboard.rst index 5d1f036..7690413 100644 --- a/configuration/using-dashboard.rst +++ b/configuration/using-dashboard.rst @@ -125,7 +125,7 @@ The read-only dashboard view prevents users from changing anything, such as dele IsReadOnlyFunc = (DashboardContext dashboardContext) => { var context = dashboardContext.GetHttpContext(); - return context.User.IsInRole("Admin"); + return !context.User.IsInRole("Admin"); } });