grafana/public/app/features/admin
Ieva 52220b2470
AccessControl: frontend changes for adding FGAC to licensing (#39484)
* refactor licenseURL function to use context and export permission evaluation fction

* remove provisioning file

* refactor licenseURL to take in a bool to avoid circular dependencies

* remove function for appending nav link, as it was only used once and move the function to create admin node

* better argument names

* create a function for permission checking

* extend permission checking when displaying server stats

* enable the use of enterprise access control actions when evaluating permissions

* import ordering

* move licensing FGAC action definitions to models package to allow access from oss

* move evaluatePermissions for routes to context serve

* change permission evaluator to take in more permissions

* move licensing FGAC actions again to appease wire

* avoid index out of bounds issue in case no children are passed in when creating server admin node

* simplify syntax for permission checking

Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>

* update loading state for server stats

* linting

* more linting

* fix test

* fix a frontend test

* update "licensing.reports:read" action naming

* UI doesn't allow reading only licensing reports and not the rest of licensing info

Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
2021-10-05 14:54:26 +01:00
..
ldap Chore: More TypeScript strict fixes (#39300) 2021-09-17 09:47:23 +01:00
partials Admin: Cleanup old admin users edit page, see #19139 (#24463) 2020-05-10 21:05:02 +02:00
state Admin: User list tweaks (#38750) 2021-09-01 16:53:58 +03:00
AdminEditOrgPage.tsx A11y: Fix fastpass issues for /admin/* pages (#39435) 2021-09-22 21:23:54 +01:00
AdminListOrgsPage.tsx Chore: eslint react hook fix for public folder (#31174) 2021-03-25 12:42:14 +01:00
AdminOrgsTable.tsx A11y: Fix fastpass issues for /admin/* pages (#39435) 2021-09-22 21:23:54 +01:00
AdminSettings.tsx Build: Upgrade Webpack 5 (#36444) 2021-08-31 12:55:05 +02:00
LicenseChrome.tsx Emotion: Upgrades emotion from 10 to 11 and updates all import paths (#32541) 2021-04-01 14:15:23 +02:00
OrgRolePicker.tsx A11y: Fix fastpass issues for /admin/* pages (#39435) 2021-09-22 21:23:54 +01:00
ServerStats.test.tsx AccessControl: frontend changes for adding FGAC to licensing (#39484) 2021-10-05 14:54:26 +01:00
ServerStats.tsx AccessControl: frontend changes for adding FGAC to licensing (#39484) 2021-10-05 14:54:26 +01:00
UpgradePage.tsx A11y: Fix fastpass issues for /admin/* pages (#39435) 2021-09-22 21:23:54 +01:00
UserAdminPage.tsx Disable external user's change role in admin (#39172) 2021-09-21 17:47:35 +02:00
UserCreatePage.tsx Build: Upgrade Webpack 5 (#36444) 2021-08-31 12:55:05 +02:00
UserLdapSyncInfo.tsx Access control: Make Admin/Users UI working with the permissions (#33176) 2021-04-22 13:19:41 +03:00
UserListAdminPage.tsx Admin: Show licensed roles and unit membership in UI (#39773) 2021-09-29 18:26:50 +03:00
UserOrgs.tsx Disable external user's change role in admin (#39172) 2021-09-21 17:47:35 +02:00
UserPermissions.tsx Access control: Make Admin/Users UI working with the permissions (#33176) 2021-04-22 13:19:41 +03:00
UserProfile.tsx Access control: Make Admin/Users UI working with the permissions (#33176) 2021-04-22 13:19:41 +03:00
UserSessions.tsx Access control: Make Admin/Users UI working with the permissions (#33176) 2021-04-22 13:19:41 +03:00