grafana/public/app/core/components/RolePicker
Karl Persson 7e16d5b4b4
RBAC: Fix various ui issues for role picker (#53589)
* RolePicker: Check if user has permissions to delegate roles

* UserRolePicker: Require both UserRolsAdd and UserRolesRemove for chaning
roles

* RolePicker: Add option for controlling if roles can be updated to
RolePicker

* UserOrgs: Dont try to fetch roles with wrong permission

* RolePicker: make usage consistent with allowed actions

* RolePickerMenu: Remove unused property

* UserOrgs: Check for correct permission

* UserRolePicker: add apply to controll apply behaviour instand of
updateDisabled

* UserOrgs: Check for correct permission when trying to update roles

* RolePicker: Disable button if no roles or org role can be updated

* RolePicker: Always close on update

* RolePicker: Fix issue with updating immutable value

* ServiceAccountsListItem: Pass correct value to RolePicker

* ServiceAccountCreatePage: Pass correct value
2022-08-12 09:16:16 +02:00
..
api.ts Chore: Enable useUnknownInCatchVariables for stricter type checking in catch blocks (#50591) 2022-06-15 08:59:29 +01:00
constants.ts RolePicker: UI improvements (#49397) 2022-05-24 10:21:31 +03:00
RolePicker.tsx RBAC: Fix various ui issues for role picker (#53589) 2022-08-12 09:16:16 +02:00
RolePickerInput.tsx RolePicker: UI improvements (#49397) 2022-05-24 10:21:31 +03:00
RolePickerMenu.tsx RBAC: Fix various ui issues for role picker (#53589) 2022-08-12 09:16:16 +02:00
TeamRolePicker.tsx RBAC: Fix various ui issues for role picker (#53589) 2022-08-12 09:16:16 +02:00
UserRolePicker.tsx RBAC: Fix various ui issues for role picker (#53589) 2022-08-12 09:16:16 +02:00
ValueContainer.tsx RolePicker: UI improvements (#49397) 2022-05-24 10:21:31 +03:00