PublicDashboards: disable form if user does not has permissions (#54853)
This commit is contained in:
@@ -426,7 +426,7 @@ func (hs *HTTPServer) declareFixedRoles() error {
|
||||
Description: "Create, write or disable a public dashboard.",
|
||||
Group: "Dashboards",
|
||||
Permissions: []ac.Permission{
|
||||
{Action: dashboards.ActionDashboardPublicWrite, Scope: dashboards.ScopeDashboardsAll},
|
||||
{Action: dashboards.ActionDashboardsPublicWrite, Scope: dashboards.ScopeDashboardsAll},
|
||||
},
|
||||
},
|
||||
Grants: []string{"Admin"},
|
||||
|
||||
Reference in New Issue
Block a user