mirror of
https://github.com/grafana/grafana.git
synced 2024-11-29 12:14:08 -06:00
2fd7031102
* 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> |
||
---|---|---|
.. | ||
decorators.test.ts | ||
decorators.ts | ||
links.test.ts | ||
links.ts | ||
LogsCrossFadeTransition.tsx | ||
set.test.ts | ||
set.ts | ||
time.ts |