grafana/public/app/features/teams/state
Alexander Zobnin 867ca5b59e
Access control: Team role picker (#43418)
* Refactor: move fetching from role picker to parent component

* Make built in role props optional

* Initial team role picker

* Add role picker to the teams list

* Optimize fetching roles

* Add pagination for the teams page

* Fix tests

* Hide roles if access control not enabled

* Fix test snapshots

* Refactor: use useAsync() hook

* Refactor: simplify input component

* Move api calls to separate file

* Refactor: use useAsync() hook for user role picker

* Tweak role picker input width

* Fix pagination

* Update test snapshots

* Use loading state from useAsync() hook

* Fix roles label if no roles assigned
2022-01-17 18:04:54 +03:00
..
actions.ts Prettier: Upgrade to 2 (#30387) 2021-01-20 07:59:48 +01:00
navModel.ts switch to using featureEnabled for enterprise features (#41559) 2022-01-07 15:11:23 -05:00
reducers.test.ts Chore: Migrates reducers and actions to Redux Toolkit (#21287) 2020-01-13 08:03:22 +01:00
reducers.ts Access control: Team role picker (#43418) 2022-01-17 18:04:54 +03:00
selectors.test.ts Access control: Team role picker (#43418) 2022-01-17 18:04:54 +03:00
selectors.ts Access control: Team role picker (#43418) 2022-01-17 18:04:54 +03:00