[2.5, RBAC, API] Admin of all resource pools can't create pools via the API
Bug #1812238 reported by
Björn Tillenius
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Alberto Donato |
Bug Description
This is with MAAS 2.5.1-7489-
I have a user that has the Admin role on the 'all' resource for resource pool. In the UI he's able to create a new resource pool, but not using the API.
Related branches
~ack/maas:backport-1812238
- Alberto Donato (community): Approve
-
Diff: 130 lines (+14/-33)4 files modifiedsrc/maasserver/api/support.py (+0/-1)
src/maasserver/api/tests/test_resourcepool.py (+6/-17)
src/maasserver/api/tests/test_resourcepools.py (+6/-15)
src/maasserver/api/zones.py (+2/-0)
~ack/maas:resource-pool-create-rbac-1812238
Merged
into
maas:master
- Björn Tillenius: Approve
- MAAS Lander: Approve
-
Diff: 130 lines (+14/-33)4 files modifiedsrc/maasserver/api/support.py (+0/-1)
src/maasserver/api/tests/test_resourcepool.py (+6/-17)
src/maasserver/api/tests/test_resourcepools.py (+6/-15)
src/maasserver/api/zones.py (+2/-0)
tags: | added: api rbac |
Changed in maas: | |
status: | New → Triaged |
importance: | Undecided → High |
milestone: | none → 2.5.1 |
Changed in maas: | |
assignee: | nobody → Alberto Donato (ack) |
Changed in maas: | |
status: | Triaged → In Progress |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.