Skip to content

Commit

Permalink
Update using-dashboard.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
odinserj committed Oct 16, 2024
1 parent 28cceef commit 0d8a36b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configuration/using-dashboard.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}
});
Expand Down

0 comments on commit 0d8a36b

Please sign in to comment.