grafana/pkg/services/provisioning
Yuri Tseretyan b9abb8cabb
Alerting: Update provisioning API to support regular permissions (#77007)
* allow users with regular actions access provisioning API paths
* update methods that read rules
skip new authorization logic if user CanReadAllRules to avoid performance impact on file-provisioning
update all methods to accept identity.Requester that contains all permissions and is required by access control.

* create deltas for single rul e 

* update modify methods
skip new authorization logic if user CanWriteAllRules to avoid performance impact on file-provisioning
update all methods to accept identity.Requester that contains all permissions and is required by access control.

* implement RuleAccessControlService in provisioning

* update file provisioning user to have all permissions to bypass authz

* update provisioning API to return errutil errors correctly

---------

Co-authored-by: Alexander Weaver <weaver.alex.d@gmail.com>
2024-03-22 15:37:10 -04:00
..
alerting Alerting: Update provisioning API to support regular permissions (#77007) 2024-03-22 15:37:10 -04:00
dashboards Provisioning: Fix failure to save dashboard (#81694) 2024-02-02 09:55:29 +00:00
datasources Provisioning: Remove trailing space from log message (#73124) 2023-11-10 07:24:35 +00:00
plugins Plugins: Move store and plugin dto to pluginsintegration (#74655) 2023-09-11 13:59:24 +02:00
utils Chore: Remove Result from dashboard models (#61997) 2023-01-25 10:36:26 +01:00
values Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03:00
provisioning_mock.go Alerting: Remove legacy alerting (#83671) 2024-03-14 15:36:35 +01:00
provisioning_test.go Alerting: Remove legacy alerting (#83671) 2024-03-14 15:36:35 +01:00
provisioning.go Alerting: Update provisioning API to support regular permissions (#77007) 2024-03-22 15:37:10 -04:00