Proposed fix: https://review.openstack.org/#change,5153
Usage: $ keystone role-list --user=<user-id> --tenant_id=<tenant-id> On Thu, Mar 8, 2012 at 10:01 PM, Deepak Garg <deepakgarg.i...@gmail.com>wrote: > I have also been trying to find a cli to get a user's role in a > particular tenant. > I could not do that even with db tables mapping. Following are the fields > in the tables: > > tenant table -> tenant_Id, name, extras > user_tenant_membership -> user_id, tenant_id > user table -> id, name, extra > role table -> id, name > > So when we bind a user to a tenant with a particular role. How do we > store the data in the db so that its possible to verify it and may be > retrieve it using cli (when it gets implemented) ? > > > Thanks, > Deepak > > On Fri, Mar 9, 2012 at 7:18 AM, Jason Hedden <jhed...@mcs.anl.gov> wrote: > > > > > > On Mar 8, 2012, at 6:12 PM, Andy Smith <andys...@gmail.com> wrote: > > > >> > >> I came across this while trying to list the roles assigned to users, > which > >> I still don't know how to do via the keystone client utility. Is this > even > >> possible? > > > > > > Well, to clarify that statement a bit, roles exist on user-tenant pairs, > so > > you would list the roles for a user-tenant pair. > > > > > > How? I wasn't able to find a way using the keystone client tools. > > > > Thanks, > > Jason > > > > _______________________________________________ > > Mailing list: https://launchpad.net/~openstack > > Post to : openstack@lists.launchpad.net > > Unsubscribe : https://launchpad.net/~openstack > > More help : https://help.launchpad.net/ListHelp > > > > _______________________________________________ > Mailing list: https://launchpad.net/~openstack > Post to : openstack@lists.launchpad.net > Unsubscribe : https://launchpad.net/~openstack > More help : https://help.launchpad.net/ListHelp >
_______________________________________________ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp