grafana/docs/sources/enterprise/access-control
Karl Persson 2fd7031102
Access Control: Add fine-grained access control to explore (#35883)
* add fixed role for datasource read operations

* Add action for datasource explore

* add authorize middleware to explore index route

* add fgac support for explore navlink

* update hasAccessToExplore to check if accesscontrol is enable and evalute action if it is

* add getExploreRoles to evalute roles based onaccesscontrol, viewersCanEdit and default

* create function to evaluate permissions or using fallback if accesscontrol is disabled

* change hasAccess to prop and derive the value in mapStateToProps

* add test case to ensure buttons is not rendered when user does not have access

* Only hide return with changes button

* remove internal links if user does not have access to explorer

Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
2021-07-02 14:43:12 +02:00
..
_index.md AccessControl: Fix docs link to localhost (#36233) 2021-06-28 21:11:09 +02:00
fine-grained-access-control-references.md Access Control: Add fine-grained access control to explore (#35883) 2021-07-02 14:43:12 +02:00
permissions.md Access Control: Add fine-grained access control to explore (#35883) 2021-07-02 14:43:12 +02:00
provisioning.md Access-Control: Document changes to the provisioner (#35548) 2021-06-11 13:57:49 +02:00
roles.md Add fine-grained-access-control-references.md file. (#35043) 2021-06-01 16:35:38 +02:00
usage-scenarios.md Access control: Rename predefined roles to fixed roles (docs) (#34472) 2021-05-26 14:59:24 +02:00