mirror of
https://github.com/grafana/grafana.git
synced 2025-02-12 08:35:43 -06:00
* Expose user permissions to the frontend * Do not include empty scope * Extend ContextSrv with hasPermission() method * Add access control types * Fix type error (make permissions optional) * Fallback if access control disabled * Move UserPermission to types * Simplify hasPermission() |
||
---|---|---|
.. | ||
evaluator | ||
middleware | ||
ossaccesscontrol | ||
accesscontrol.go | ||
models.go | ||
roles_test.go | ||
roles.go |