DataSourcePermissions: Handle licensing properly for ds permissions (#59694)

* RBAC: add viewer grand if dspermissions enforcement is not enabled

* RBAC: Change permissions based on role prefix

* RBAC: Add option to for permission service to add a license middleware

* RBAC: Remove actions from query struct
This commit is contained in:
Karl Persson
2022-12-02 13:19:14 +01:00
committed by GitHub
parent a7d4bbf024
commit 6d1bcd9f40
9 changed files with 29 additions and 42 deletions
@@ -15,3 +15,5 @@ func disableMiddleware(shouldDisable bool) web.Handler {
}
}
}
func nopMiddleware(c *models.ReqContext) {}