- Also fixed some mode issues with ArrayListGrouped that showed up on the view of these pages. Still need more tweaking to make it look good though.
rancher/dashboard#1818
- The first issue was caused by the introductions of ArrayListGrouped and not updating all references appropriately
- The other was caused by LabeledSelect calling the @input handler twice for every selection. The handler was toggling which caused the value to always reset. It looks like the reason labeled select was calling the handler twice was because of having both v-bind="$attrs" and @input="...". So i removed @input and verified that LabeledSelect still works for both v-model and value/@input.
rancher/dashboard#2211
- 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
- This is a fix for a very minor visual bug (checkbox position is too high)
- Think this came in after the styles update
- I'll be updated this area in the create/edit user pr, will be sure to
make it less brittle
When using <RadioGroup row>, we need the CSS to match on
`.radio-group.row` (that is, one element with both classes) rather than
matching on `.radio-group .row` (an element that is the descendant of
another).