Commit Graph

16 Commits

Author SHA1 Message Date
Cody Jackson 2c1e67e7ca Now directly create and interact with norman bindings
Removed binding filtering and now just use norman bindings. The backend actually does the filtering when using norman.

https://github.com/rancher/dashboard/issues/3768#issuecomment-901827980
2021-08-20 09:28:38 -07:00
Richard Cox b2234bcac2 Changes following review, fix norman schema check 2021-08-16 13:59:26 +01:00
Richard Cox 24b2ae0fce Ensure users can only see cluster/project membership details if they have perms to 2021-08-13 11:32:10 +01:00
Richard Cox 633b606601 Allow non-admins to create projects without supplying members
- Non-admin create was blocked (create button disabled) given their lack of rights to the binding type
- When non-admins create their project they get this binding automatically, so count case as valid

Also
- Disable remove of a member binding if there is only one user
  - covers case where a non-admin can remove themselves when editing their project and not re-add
2021-08-11 13:21:13 +01:00
Nancy Butler 7f4f78d019 display errors from project create/edit 2021-07-30 12:27:54 -07:00
Cody Jackson 5523c3807a Removing the member owner requirement from system and default projects
https://github.com/rancher/dashboard/issues/3550
2021-07-28 17:38:43 -07:00
Cody Jackson aecdcb9d5e Only show the project members tab to users who have access to members
rancher/dashboard#3343
2021-07-20 13:37:28 -07:00
Cody Jackson 578a4b8888 Adding cluster membership to the rke2 pages
rancher/dashboard#3183
2021-07-07 15:59:57 -07:00
codyrancher 10b0fb86ce
Merge pull request #3275 from codyrancher/project-refresh
Simplified project norman acccess and now refresh management projects when modifying norman projects
2021-06-18 08:51:42 -07:00
codyrancher 4fc3f81ec5
Merge pull request #3249 from codyrancher/namespace-units
Applying units to container resource limits for namespace editing
2021-06-17 03:43:37 -07:00
Cody Jackson 2945bc9210 Simplified project norman acccess and now refresh management projects when modifying norman projects
The management projects weren't consistently being updated when modifying norman projects. Now when
saving or removing norman projects we refresh the management projects to make sure the list is up to date.

https://github.com/rancher/dashboard/issues/3175
2021-06-16 15:45:17 -07:00
Cody Jackson 964c8f931f Migrating the project membership pages from ember to vue
rancher/dashboard#2673
2021-06-16 11:22:40 -07:00
Cody Jackson 366c36b563 Applying units to container resource limits for namespace editing
https://github.com/rancher/dashboard/issues/3104#issuecomment-858114480
2021-06-15 18:22:18 -07:00
Cody Jackson 49106dec3b Making use of the rancher/norman api to create/update projects
rancher/dashboard#3090
2021-06-04 16:49:18 -07:00
Richard Cox 1f47fab434 Fix `Labels &amp Annotations` tab label
- Use simpler :label-key instead of :label
- Actual issue was that
  - some cases used Vue.prototype.t ... which did the escaping
  - others used `...mapGetters({ t: 'i18n/t' })` ... which didn't do the escaping and looked fine
- Guessing this might have been caused by a change in CreateEditView
2021-05-18 15:38:41 +01:00
Cody Jackson 33d6918188 Migrating Projects from Ember to Vue
rancher/dashboard#2500
2021-05-17 08:49:54 -07:00