grafana/public/app/types
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
..
jquery Minor progress on fixing no-implicit any issues 2019-03-19 18:24:47 +01:00
accessControl.ts Access Control: Add fine-grained access control to explore (#35883) 2021-07-02 14:43:12 +02:00
acl.ts Migration: Remove LegacyForms from dashboard folder permissions (#28564) 2020-11-02 12:55:34 +01:00
alerting.ts Alerting: Remove unused NGAlerting components (#34568) 2021-05-24 14:20:11 +02:00
angular.ts Chore: Remove angular dependency from backendSrv (#20999) 2020-01-21 10:08:07 +01:00
apiKeys.ts Admin: Keeps expired api keys visible in table after delete (#31636) 2021-03-04 13:20:38 +01:00
appEvent.ts Chore: upgrade to Typescript 3.9.3 (#25154) 2020-06-17 12:26:01 +02:00
appNotifications.ts Chore: Use uuid v4 as an identifier instead of Date.now() (#27178) 2020-08-26 11:38:39 +02:00
dangerously-set-html-content.d.ts Bring back scripts evaluation in TextPanel (#26413) 2020-07-17 18:00:58 +02:00
dashboard.ts Shortcuts: Fixes panel shortcuts so they always work (#32385) 2021-03-29 07:52:57 +02:00
datasources.ts Migrates old Card sass file to GlobalStyles (#33183) 2021-04-21 16:39:56 +02:00
events.ts Events: Migrate old timeRangeUpdate event to new event system to get rid of console.log warning (#35767) 2021-06-16 15:44:50 +02:00
explore.ts Explore: Add caching for queries run from logs navigation (#34297) 2021-05-24 13:56:48 +02:00
folders.ts Dashboard: Migrating dashboard settings to react (#27561) 2020-12-17 15:50:11 +01:00
index.ts Access control: expose permissions to the frontend (#32954) 2021-04-16 16:02:16 +03:00
ldap.ts Chore: Fix more strict typescript errors (#35514) 2021-06-14 15:13:48 +01:00
location.ts FieldOverride: Support data links via field overrides (#23590) 2020-04-20 07:37:38 +02:00
organization.ts Trying to reduce the amount of duplication with preferences 2018-11-15 13:37:29 +01:00
plugins.ts Eslint: no-duplicate-imports rule (bump grafana-eslint-config) (#30989) 2021-02-11 13:45:25 +01:00
preferences.ts Themes: Switch theme without reload using global shortcut (#32180) 2021-03-22 08:48:53 +01:00
query.ts AlertingNG: Enable UI to Save Alert Definitions (#30394) 2021-01-22 16:08:54 +01:00
sanitize-url.d.ts DataLinks: Sanitize data/panel link URLs (#21140) 2019-12-18 11:31:11 +01:00
store.ts Chore: Upgrade typescript to version 4.3.4, storybook to 6.3.0 (#35374) 2021-06-24 15:29:03 +02:00
svg.d.ts Transforms: Adds beta notice and updates transform descriptions (#24158) 2020-05-04 15:05:31 +02:00
teams.ts UserTableView: Show user name in table view (#18108) 2019-11-21 12:44:46 +02:00
templates.ts make variable type more slim 2019-01-07 11:26:06 +01:00
unified-alerting-dto.ts Alerting: rename type to make it obvious what part of the code base it belongs to. (#34714) 2021-05-27 12:29:10 +02:00
unified-alerting.ts Alerting: view to display alert rule and its underlying data. (#35546) 2021-07-01 12:02:41 +02:00
user.ts Chore: Fix more strict typescript errors (#35514) 2021-06-14 15:13:48 +01:00
window.d.ts Grafana-UI: Switch CodeEditor to UMD @monao-editor/react (#33204) 2021-04-27 17:34:56 +01:00