grafana/docs/sources/enterprise
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
..
access-control Access Control: Add fine-grained access control to explore (#35883) 2021-07-02 14:43:12 +02:00
license Fix Markdown syntax in enterprise/license/_index.md (#34683) 2021-06-03 13:57:23 -04:00
usage-insights cleanup shortcodes, asset paths (#34826) 2021-05-28 11:27:40 +02:00
_index.md Add Honeycomb plugin (#36000) 2021-06-21 12:34:33 -06:00
auditing.md Docs: Document fine-grained access control (#33563) 2021-05-20 09:53:34 -07:00
datasource_permissions.md cleanup shortcodes, asset paths (#34826) 2021-05-28 11:27:40 +02:00
enhanced_ldap.md cleanup shortcodes, asset paths (#34826) 2021-05-28 11:27:40 +02:00
enterprise-configuration.md Docs: Document caching defaults in enterprise config (#36181) 2021-06-25 20:06:01 +02:00
export-pdf.md Docs: Document fine-grained access control (#33563) 2021-05-20 09:53:34 -07:00
query-caching.md Docs: Document fine-grained access control (#33563) 2021-05-20 09:53:34 -07:00
reporting.md Docs: improve reporting doc (#35187) 2021-06-07 13:52:30 +02:00
request-security.md Docs: Document fine-grained access control (#33563) 2021-05-20 09:53:34 -07:00
saml.md Docs: Document fine-grained access control (#33563) 2021-05-20 09:53:34 -07:00
settings-updates.md Docs: Settings updates at runtime (#34169) 2021-05-28 13:28:40 +02:00
team-sync.md cleanup shortcodes, asset paths (#34826) 2021-05-28 11:27:40 +02:00
vault.md Docs: Document fine-grained access control (#33563) 2021-05-20 09:53:34 -07:00
white-labeling.md Allow white labeling loading logo (#36174) 2021-07-02 14:17:10 +02:00