grafana/docs/sources
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
..
administration Added note about location of the default home dashboard. (#36231) 2021-06-28 14:41:30 -04:00
alerting Docs: Add security warning about using Grafana 8 alerts with multiple organisations (#36308) 2021-07-01 16:29:35 +03:00
auth Team Sync: Add group mapping to support team sync in the Generic OAuth provider (#36307) 2021-07-01 22:40:46 +02:00
basics Docs: Update intro-histograms.md (#35462) 2021-06-10 08:41:38 -07:00
best-practices cleanup shortcodes, asset paths (#34826) 2021-05-28 11:27:40 +02:00
dashboards Updated content to specify method to use to get keyboard shortcuts wh… (#36084) 2021-06-23 18:36:53 +02:00
datasources Elasticsearch: add rate aggregation (#33311) 2021-06-28 11:55:31 +01:00
developers Update custom-panel-option-editors.md (#36005) 2021-06-21 23:11:34 +02:00
enterprise Access Control: Add fine-grained access control to explore (#35883) 2021-07-02 14:43:12 +02:00
explore doc: fix link to Loki's doc (#35611) 2021-06-14 11:33:27 -04:00
getting-started cleanup shortcodes, asset paths (#34826) 2021-05-28 11:27:40 +02:00
http_api Docs: Link to the new alerting API spec (#35812) 2021-06-17 16:10:08 +02:00
installation Docs: Add upgrade/breaking note about SQL data sources and data frames (#35766) 2021-06-15 18:12:14 +02:00
linking fix typo in template (#36082) 2021-06-23 18:58:35 +02:00
live Docs: Clarify data streaming with plugins documentation (#35576) 2021-06-15 10:25:52 +03:00
manage-users cleanup shortcodes, asset paths (#34826) 2021-05-28 11:27:40 +02:00
panels Logs panel: Add option to show common labels (#36166) 2021-07-01 14:06:58 +02:00
permissions cleanup shortcodes, asset paths (#34826) 2021-05-28 11:27:40 +02:00
plugins Docs: Update _index.md (#36237) 2021-06-29 09:27:16 -04:00
release-notes ReleaseNotes: Updated changelog and release notes for 8.0.4 (#36347) 2021-07-01 15:59:46 +02:00
shared Update alert doc structure (#34659) 2021-05-25 10:51:28 -04:00
sharing Added note that anonymous access permission is no longer available. (#36142) 2021-06-25 15:46:26 +02:00
troubleshooting cleanup shortcodes, asset paths (#34826) 2021-05-28 11:27:40 +02:00
variables cleanup shortcodes, asset paths (#34826) 2021-05-28 11:27:40 +02:00
whatsnew Update whats-new-in-v8-0.md (#36249) 2021-06-29 09:14:16 +02:00
_index.md Docs: Document new value mappings (#35067) 2021-06-03 09:21:26 -07:00
menu.yaml Docs: library panel (#35272) 2021-06-04 20:13:56 +02:00