Administrators unable to delete users using the API
Bug #1510210 reported by
Blake Rouse
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Unassigned |
Bug Description
Administrators using the CLI and/or API should be able to delete other users.
Looking at src/maasserver/
Related branches
lp:~rbanffy/maas/1510210-cant-delete-user
- Blake Rouse (community): Approve
-
Diff: 269 lines (+131/-6)7 files modifiedsrc/maasserver/api/tests/test_user.py (+92/-0)
src/maasserver/api/users.py (+26/-1)
src/maasserver/models/filestorage.py (+3/-1)
src/maasserver/models/node.py (+3/-1)
src/maasserver/models/sshkey.py (+2/-1)
src/maasserver/models/sslkey.py (+2/-1)
src/maasserver/models/staticipaddress.py (+3/-1)
tags: | added: landscape |
Changed in maas: | |
status: | Triaged → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Administrator should *not* be able to delete themselves. That way always one administrator exists.