Re: [Openstack] Listing roles for a user

2012-05-04 Thread Everett Toews
Hi Dolph, Just out of curiosity, why is the argument --user instead of --user-id? Seems like it would be more informative and consistent if it was --user_id. I actually wound up filing a bug for this at https://bugs.launchpad.net/keystone/+bug/994744 Everett On Fri, May 4, 2012 at 11:36 AM, Dol

Re: [Openstack] Listing roles for a user

2012-05-04 Thread Pierre Amadio
On 05/04/2012 05:36 PM, Kevin Jackson wrote: > Hello everyone, > Quick Q: As an administrator how can I list the roles for a given user > with the keystone client? > I see this teasing option - but I can only list all roles unless I auth > with the user's details... > > role-list List al

Re: [Openstack] Listing roles for a user

2012-05-04 Thread Kevin Jackson
Thanks all - that did the trick. Kev On 4 May 2012 18:39, Everett Toews wrote: > keystone help role-list > usage: keystone role-list [--user ] [--tenant_id ] > > List all roles, or only those granted to a user. > > Optional arguments: > --user List roles granted to a user > --tenant_i

Re: [Openstack] Listing roles for a user

2012-05-04 Thread Everett Toews
keystone help role-list usage: keystone role-list [--user ] [--tenant_id ] List all roles, or only those granted to a user. Optional arguments: --user List roles granted to a user --tenant_id List roles granted on a tenant $ keystone tenant-list ... | bebf7c9c4d1f41d6ba6fb3ba10855

Re: [Openstack] Listing roles for a user

2012-05-04 Thread Dolph Mathews
This actually just changed yesterday in https://github.com/openstack/python-keystoneclient/commit/e9ba370434537bcf1e53266e24397311d595b71e PRIOR to that commit: $ keystone help role-list usage: keystone role-list [--user ] [--tenant_id ] List all roles, or only those granted to a user. Optiona

Re: [Openstack] Listing roles for a user

2012-05-04 Thread Chmouel Boudjnah
Hi, On Fri, May 4, 2012 at 4:36 PM, Kevin Jackson wrote: > Hello everyone, > Quick Q: As an administrator how can I list the roles for a given user with > the keystone client? This should show up in the reply from the rest query after you auth, not sure about keystoneclient Chmouel. __

[Openstack] Listing roles for a user

2012-05-04 Thread Kevin Jackson
Hello everyone, Quick Q: As an administrator how can I list the roles for a given user with the keystone client? I see this teasing option - but I can only list all roles unless I auth with the user's details... role-list List all roles, or only those granted to a user. Cheers, Kev --