grafana/public/app/features
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
..
admin Chore: Fix more strict typescript errors (#35514) 2021-06-14 15:13:48 +01:00
alerting Alerting: view to display alert rule and its underlying data. (#35546) 2021-07-01 12:02:41 +02:00
annotations Annotations: Fix annotation line and marker colors (#35608) 2021-06-14 11:36:33 +02:00
api-keys Theme: Renames new theme model from GrafanaThemeV2 to just GrafanaTheme (#33619) 2021-05-03 09:45:54 +02:00
dashboard Snapshots: Fixex snapshots absolute time range issue (#36350) 2021-07-02 13:05:11 +02:00
datasources Add Honeycomb plugin (#36000) 2021-06-21 12:34:33 -06:00
explore Access Control: Add fine-grained access control to explore (#35883) 2021-07-02 14:43:12 +02:00
expressions Alerting: Don't reset value when changing evaluator method on classic condition (#35750) 2021-06-16 14:11:36 +02:00
folders LibraryPanels: removes feature toggle (#33839) 2021-05-12 08:48:17 +02:00
inspector Dashboard: Fix changes doesn't reflect after changing panel sizes in inspect JSON and click on apply (#35276) 2021-06-15 14:12:32 +02:00
library-panels LibraryPanels: Fixes crash in libray panels list when panel plugin is not found (#35907) 2021-06-18 08:03:42 +02:00
live Chore: Upgrade typescript to version 4.3.4, storybook to 6.3.0 (#35374) 2021-06-24 15:29:03 +02:00
manage-dashboards Form: Expose all return values from useForm (#34380) 2021-05-24 15:09:33 +03:00
org Theme: Page styles move to emotion global styles and design tweaks (#33529) 2021-04-30 10:04:01 +02:00
panel Graph: Workaround for DashboardQueryRunner race condition (#36254) 2021-06-30 10:36:05 +02:00
playlist Card: Defend against conditional action buttons (#35204) 2021-06-04 14:38:29 +02:00
plugins Plugins: Update plugin signing copy + docs (#34716) 2021-05-31 21:54:53 +02:00
profile Chore: Add tests for ChangePasswordPage and SendResetMailPage (#36313) 2021-07-01 17:01:09 +03:00
query DashboardQueryRunner: Fixes unrestrained subscriptions being created (#36371) 2021-07-02 10:52:13 +02:00
sandbox GraphNG: refactor (#33348) 2021-05-05 03:44:31 -05:00
search Memoize SearchResults (#35851) 2021-06-17 11:19:33 +03:00
teams Theme: Page styles move to emotion global styles and design tweaks (#33529) 2021-04-30 10:04:01 +02:00
templating Performance: Standardize lodash imports to use destructured members (#33040) 2021-04-21 09:38:00 +02:00
users v8: Update login page design (#33923) 2021-05-11 16:34:44 +02:00
variables Variables: Fix for changing readonly query property (#35992) 2021-06-22 08:53:41 +02:00
all.ts TimeSrv: Refactor service to have no dependency on angular (#32562) 2021-04-01 06:33:11 +02:00