[2.5] RBAC - Cannot create a device as an admin role for "global entities" and all resource pools
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Blake Rouse |
Bug Description
After upgrading to 2.5.1-7472-
The user in RBAC has admin role in all scopes available.
2018-12-12 03:39:38 maasserver.
Traceback (most recent call last):
File "/usr/lib/
File "/usr/lib/
return target()
File "/usr/lib/
task()
File "/usr/lib/
task()
--- <exception caught here> ---
File "/usr/lib/
result = inContext.theWork()
File "/usr/lib/
File "/usr/lib/
return self.currentCon
File "/usr/lib/
return func(*args,**kw)
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
result = func(*args, **kwargs)
File "/usr/lib/
return func_outside_
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
return func(*args, **kwds)
File "/usr/lib/
return method(params)
File "/usr/lib/
data = super(DeviceHan
File "/usr/lib/
File "/usr/lib/
raise HandlerDoesNotE
Error surfaced in the UI is without context. See attached.
Related branches
- Alberto Donato (community): Approve
- MAAS Lander: Pending (unittests) requested
-
Diff: 118 lines (+79/-8)2 files modifiedsrc/maasserver/models/node.py (+35/-8)
src/maasserver/models/tests/test_node.py (+44/-0)
description: | updated |
Changed in maas: | |
status: | New → In Progress |
assignee: | Alberto Donato (ack) → Blake Rouse (blake-rouse) |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
This is a regression introduced in https:/ /code.launchpad .net/~blake- rouse/maas/ +git/maas/ +merge/ 360759