allow edit of user role

Bug #1370515 reported by Dafna Ron
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Invalid
Wishlist
Nikunj Aggarwal

Bug Description

I think it would be helpful to allow changing and updating a user's role from horizon

root@tigris01 ~(keystone_admin)]# keystone help |grep role
    role-create Create new role.
    role-delete Delete role.
    role-get Display role details.
    role-list List all roles.
    user-role-add Add role to user.
    user-role-list List roles granted to a user.
    user-role-remove Remove role from user.
    bootstrap Grants a new role to a new user on a new tenant, after
[root@tigris01 ~(keystone_admin)]# keystone help user-role-add
usage: keystone user-role-add --user <user> --role <role> [--tenant <tenant>]

Add role to user.

we can actually user role-delete + role-create or role-create + --role <role>, --role-id <role>, --role_id <role>

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

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

Changed in horizon:
status: New → Confirmed
importance: Undecided → Wishlist
tags: added: keystone
Changed in horizon:
assignee: nobody → Nikunj Aggarwal (nikunj2512)
Revision history for this message
Julie Pichon (jpichon) wrote :

Isn't it already possible to do this?

When enabling Keystone v3 ( https://github.com/openstack/horizon/blob/d5fea888a8/openstack_dashboard/local/local_settings.py.example#L36 ), the admin gets access to a new Role panel under "Identity" and can create/add new roles.

Then because adding a role is done in the context of a project, when one adds Users to a Project which roles to give are also selectable in the "Modify Users" tab (the drop-down within the drop-down). That's possible with v2 and v3.

Am I misunderstanding what this is about?

Revision history for this message
Nikunj Aggarwal (nikunj2512) wrote :

Hi Julie,

You are right. Yes, it is possible. I think then this bug is invalid.

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

I missed this too, as I also was using Keystone v2. Thanks, Julie

Changed in horizon:
status: Confirmed → Invalid
Revision history for this message
Julie Pichon (jpichon) wrote :

Cool, thank you for the follow-up!

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.