feat: [WD-34915] Make Admin groups immutable#1898
feat: [WD-34915] Make Admin groups immutable#1898Kxiru wants to merge 1 commit intocanonical:mainfrom
Conversation
9e8d3db to
daea130
Compare
kimanhou
left a comment
There was a problem hiding this comment.
Could you please include the QA steps in the description ?
Maybe we should also disable the name input and the description input in the edit side panel, instead of letting the user modify the name then receiving an error:
I also don't like being able to click on Edit permissions and then not being able to do anything. Maybe we should disable the button from the side panel and displaying what the permissions are underneath. Or change the label of the button to See permissions and completely remove the Add permissions section (and even the search bar ?)
@omarelkashef Yes, thank you for bringing this up |
|
@kimanhou I think the Permissions button should stay but can be renamed to See Permissions. Pushing a new commit that addresses all changes and changes "Edit permissions" to "View permissions". |
daea130 to
04715d6
Compare
04715d6 to
6139e25
Compare
|
It might not be related to this PR, but in the "Add permissions" section in the edit side panel, even if the dropdown lists are disabled, the cursor is still pointer. It would be better to have a cursor Tests fail. Same remark as David: when you modify the identities, an error is thrown while it shouldn't. |
|
Related bug github issue on LXD repo: canonical/lxd#17986 |
|
Signed-off-by: Nkeiruka <nkeiruka.whenu@canonical.com>
6139e25 to
b0b73a2
Compare



Done
Split Group + Edit Identity API calls so that you can still edit the admins inside the admins group.I do not think this applies anymoreNote, my admin group is called "admins". Confirm whether this is the default group name or if I have a custom one.
QA
Screenshots
Fixes canonical/lxd#17986