Files
grafana/public
Alexander Zobnin 8b843eb0a6 Access control: expose permissions to the frontend (#32954)
* 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()
2021-04-16 16:02:16 +03:00
..
2021-04-16 09:48:52 +02:00
2021-04-16 14:13:21 +02:00
2021-04-16 09:48:52 +02:00
2015-06-15 19:02:38 -04:00