- Remove spoofed rbac role template type
- Use spoof's base type's management global role and role template types
- Display these types as global, cluster and project tables in auth product
- Update Users list with actions
- Add User create/edit page
- Add User details page
- Brought over user/principal global role validation from ember world
- Addresses #2321
- When there's no auth provider clicking on the Auth Provider side nav menu item takes the user to the list of possible auth providers
- When an auth provider is enabled clicking on the same button redirects the user to the detail of that auth provider
- When already on that detail page clicking again on the auth provider item resulted in the nuxt page loading component to be shown and never be removed
- Now we prevent navigation away from this page if we're going back to the same place
- Note - I've tried a number of different ways of fixing this in the root auth/config page without joy (using a page guard directly within `middleware` and also more traditional guards with beforeResolve and beforeRouteEnter). Although more code this does work and visually clicking the menu item looks the same as on any other page.
- Add groups page with table to the auth product
- Allow user to assign roles to groups previously without roles or edit
groups with existing roles
Comments
- I haven't added any special ux for the case where there's no auth
provider and therefore no groups
- ./components/GlobalRoleBindings.vue will be updated when the same
component is used for assign global roles to a user principal
- ./components/GlobalRoleBindings.vue ln 139 Couldn't create a binding
without the generateName metadata property. Have given this a
`ui-` prefix. Is this correct?
- In order to determine which global roles are bound to each principal
(so we can filter by principals that have them).. we go out and fetch
ALL role bindings. Is this too costly?
- On the groups page the 'refresh' button is quite big, we should
consider reducing this