mirror of
https://github.com/grafana/grafana.git
synced 2025-08-03 02:12:24 +08:00
Plugins: Remove managedPluginsInstall feature toggle (#100416)
* Plugins: Remove managedPluginsInstall feature toggle Co-authored-by: Will Browne <wbrowne@users.noreply.github.com>
This commit is contained in:

committed by
GitHub

parent
39b424b8a7
commit
29afe7d2cc
@ -82,8 +82,7 @@ func DeclareRBACRoles(service ac.Service, cfg *setting.Cfg, features featuremgmt
|
||||
Grants: []string{ac.RoleGrafanaAdmin},
|
||||
}
|
||||
|
||||
if !cfg.PluginAdminEnabled ||
|
||||
(cfg.PluginAdminExternalManageEnabled && !features.IsEnabledGlobally(featuremgmt.FlagManagedPluginsInstall)) {
|
||||
if !cfg.PluginAdminEnabled {
|
||||
PluginsMaintainer.Grants = []string{}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user