allow adding multiple roles for same user

Bug #1370511 reported by Dafna Ron
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Invalid
Wishlist
Unassigned

Bug Description

[root@tigris01 ~(keystone_admin)]# keystone help user-role-add
usage: keystone user-role-add --user <user> --role <role> [--tenant <tenant>]

Add role to user.

Arguments:
  --user <user>, --user-id <user>, --user_id <user>
                        Name or ID of user.
  --role <role>, --role-id <role>, --role_id <role>
                        Name or ID of role.
  --tenant <tenant>, --tenant-id <tenant>
                        Name or ID of tenant.

in cli we can add multiple roles but can only add one in horizon. it would be good if we can add more than one role

Tags: keystone
Revision history for this message
Gary W. Smith (gary-w-smith) wrote :

+1
Thanks for identifying gaps in horizon functionality!

Before working on this bug, please submit a blueprint for this new functionality.

tags: added: keystone
Changed in horizon:
status: New → Confirmed
importance: Undecided → Wishlist
Revision history for this message
Julie Gravel (julie-gravel) wrote :
Revision history for this message
Dafna Ron (dron-3) wrote :

Thanks Julie :)

Revision history for this message
Lin Hua Cheng (lin-hua-cheng) wrote :

Multiple roles can be added to the user using the Project panel and not through the User panel. The reason for that is because roles assignment are scoped to the Project.

Revision history for this message
Dafna Ron (dron-3) wrote :

so from the users panel I can create a user with one role (and I can view and select all available roles so it's not a permissions limitation issue) but to add more than one role I have to go to the Project panel? that makes no scene... :) I think this is very confusing...

Revision history for this message
Alexis Rivera (gardlt) wrote :

I agree. if we are allowing the user to have multiple roles after creation, then the user should be able to do it both at creation time and at any point afterwards.

Daniel Park (daniepar)
Changed in horizon:
assignee: nobody → Daniel Park (daniepar)
Revision history for this message
Akihiro Motoki (amotoki) wrote :

As of now, the current "Manage Members" form of "Project" panel supports multiple role association. This is no longer a valid bug.

Changed in horizon:
assignee: Daniel Park (daniepar) → nobody
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.