[2.5, RBAC, API] Resource pool admins can't bulk edit machines
Bug #1813181 reported by
Björn Tillenius
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Björn Tillenius |
Bug Description
This is with MAAS 2.5.1-7489-
If I'm authenticated as a user that has the Admin role on a resource pool,
the bulk edit commands for updating a list of machines still can't be used:
lilium:~> maas user4 machines set-zone 6q33ak zone=1
This method is reserved for admin users.
Related branches
~bjornt/maas:bug-1813181-rbac-admin-bulk-edit
Merged
into
maas:master
- Lee Trager (community): Approve
- MAAS Lander: Needs Fixing
-
Diff: 760 lines (+134/-404)5 files modifiedsrc/maasserver/api/nodes.py (+2/-4)
src/maasserver/api/tests/test_machines.py (+21/-1)
src/maasserver/api/tests/test_nodes.py (+26/-2)
src/maasserver/forms/__init__.py (+11/-163)
src/maasserver/forms/tests/test_bulknodeaction.py (+74/-234)
tags: | added: api rbac |
Changed in maas: | |
status: | New → Triaged |
importance: | Undecided → High |
milestone: | none → 2.5.1 |
status: | Triaged → In Progress |
assignee: | nobody → Björn Tillenius (bjornt) |
description: | updated |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.