Commit Graph

13 Commits

Author SHA1 Message Date
Cody Jackson 598eb10976 Migrating RBAC to use the norman API 2021-08-16 16:18:36 -07:00
Richard Cox c2b98c52e5 Display Global/Cluster/Project roles in Auth Product
- 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
2021-04-08 14:14:19 +01:00
Richard Cox 8cdfde2b1b Ensure the user stays logged in after attempting to change roles they cannot
- As a restricted-user attempting to assign a group the 'admin' global permission resulted in the user being logged out of the dashboard
- We now show the raw error instead
2021-03-30 16:55:28 +01:00
Richard Cox a5d76e5d7c Fix changes after rebase with master
- added in role desciption again given changes to checkbox
- added tooltip again given changes to role checkbox label slot
2021-03-29 15:55:44 +01:00
Richard Cox d1668ba3ac Start with default roles when assigning roles to a group with no roles
#2542
2021-03-29 15:35:06 +01:00
Richard Cox 8958396dfa Display group/user roles in cards 2021-03-29 15:35:04 +01:00
Richard Cox ace0bc47b9 Ensure user cannot unassign in assign page, improve visuals 2021-03-29 15:32:09 +01:00
Richard Cox bae4f7176b Sort global permissions 2021-03-29 15:32:08 +01:00
Richard Cox 2397abdb00 Create User: Fix colouring of globel role checkbox descriptions
- See #2525
- Move descriptions into checkbox, handle size, colour and placement inside component
- Colour of label is a standard form colour, so in this case override it locally
2021-03-29 13:24:29 +01:00
Richard Cox 7d355462df User - List (actions), Create, Clone, Edit, Details
- Update Users list with actions
- Add User create/edit page
- Add User details page
- Brought over user/principal global role validation from ember world
2021-02-24 11:07:02 +00:00
Richard Cox 0b43a2d1ae Fixes & Changes following review 2
- promptRemove verb matches cluster explorer (delete), and text and buttons match
- update global role binding metadata.generateName from ui- to grb-
- update comment on applyProducts
2021-02-04 09:18:51 +00:00
Richard Cox b17797a5b1 Fixes & Changes following review 2021-02-04 09:16:52 +00:00
Richard Cox 57b16e42fe Add Users & Auth / Groups page, assign Global Roles to Groups
- 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
2021-02-04 09:16:52 +00:00