mirror of
https://github.com/grafana/grafana.git
synced 2024-11-30 20:54:22 -06:00
check the value of the feature toggle (#43433)
This commit is contained in:
parent
ded33ba449
commit
2409d8dc1f
@ -37,9 +37,7 @@ func (ac *OSSAccessControlService) IsDisabled() bool {
|
||||
if ac.Cfg == nil {
|
||||
return true
|
||||
}
|
||||
|
||||
_, exists := ac.Cfg.FeatureToggles["accesscontrol"]
|
||||
return !exists
|
||||
return !ac.Cfg.FeatureToggles["accesscontrol"]
|
||||
}
|
||||
|
||||
func (ac *OSSAccessControlService) registerUsageMetrics() {
|
||||
|
Loading…
Reference in New Issue
Block a user