Commit Graph

8 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 6c161e927d Fix detail/edit page header link 2021-06-07 11:49:36 +01:00
Richard Cox 1f276b574a Ensure routing is correct for roles create/view (but not anything other/deeper) 2021-06-07 11:49:36 +01:00
Richard Cox 0b2851032e Improve Role Required Indicators/Validation
- RBAC Role type improvements
  - Remove rule 'Non-Resource URL' field. RBAC role type is namespaced, non-resource url's are not.
  - Apply additional validation (
    - rule resource AND api group required, rather than default rule resource, non-resource url or api group required
    - name is required
  - Show Required indicator for all fields (reflecting validation)
- Other Role type improvements
  - Show Required indicator for rule Verbs field
    - This does mean that when the page initially loads we show an empty rule row with required fields... but user can ignore this and successfully save the role anyway. The alternative is to not show an empty rule to begin with... but this forces the user to `Add Resource`. I feel the later is more of an issue than the former.
  - name is required
2021-04-21 13:48:50 +01:00
Richard Cox fd3850b2e6 Ensure form/yaml cancel/done return to auth roles page 2021-04-13 11:20:37 +01:00
Richard Cox 4b9120adaf Add Create/Edit/View/Detail Pages for RBAC Role and ClusterRole
- Builds on generic way to handle Management Global Roles and Role Templates
- Applies to rbac.authorization.k8s.io.role and rbac.authorization.k8s.io.clusterrole
2021-04-09 16:15:03 +01: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 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