[RBAC] I should be able to register MAAS to RBAC without having to pre-register the service
Bug #1817687 reported by
Andres Rodriguez
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Alberto Donato | ||
2.5 |
Fix Released
|
High
|
Alberto Donato |
Bug Description
I'm the RBAC admin, and I'm also the MAAS admin. I want to be able to register my MAAS to RBAC without having to pre-define the service in RBAC. By doing:
maas configauth --rbac-url <url> --rbac-service-name <name>
I should be asked to authenticate against RBAC to confirm I'm the RBAC admin user, and by doing so, my MAAS should be automatically added.
Related branches
~ack/maas:backport-1817687
- Alberto Donato (community): Approve
-
Diff: 454 lines (+166/-111)9 files modifiedsrc/maascli/init.py (+47/-0)
src/maascli/snappy.py (+2/-47)
src/maasserver/management/commands/configauth.py (+22/-12)
src/maasserver/management/commands/createadmin.py (+1/-18)
src/maasserver/rbac.py (+28/-7)
src/maasserver/tests/test_commands.py (+6/-6)
src/maasserver/tests/test_commands_configauth.py (+24/-19)
src/maasserver/tests/test_rbac.py (+35/-0)
utilities/check-imports (+1/-2)
~ack/maas:configauth-create-service
Merged
into
maas:master
- Blake Rouse (community): Approve
- Lee Trager (community): Approve
- MAAS Lander: Pending (unittests) requested
-
Diff: 451 lines (+165/-108)9 files modifiedsrc/maascli/init.py (+47/-0)
src/maascli/snappy.py (+2/-47)
src/maasserver/management/commands/configauth.py (+22/-12)
src/maasserver/management/commands/createadmin.py (+1/-18)
src/maasserver/rbac.py (+28/-7)
src/maasserver/tests/test_commands.py (+6/-6)
src/maasserver/tests/test_commands_configauth.py (+23/-16)
src/maasserver/tests/test_rbac.py (+35/-0)
utilities/check-imports (+1/-2)
Changed in maas: | |
milestone: | none → 2.6.0 |
importance: | Undecided → High |
status: | New → Triaged |
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.