Files
grafana/pkg/api/dtos
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
..
2018-09-21 11:54:36 +02:00
2020-11-05 11:00:00 +01:00
2018-03-22 22:38:44 +01:00
2020-11-17 11:51:31 +01:00