openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #08433
Re: Keystone database (using latest devstack)
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 <jhedden@xxxxxxxxxxx> wrote:
>
>
> On Mar 8, 2012, at 6:12 PM, Andy Smith <andyster@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help : https://help.launchpad.net/ListHelp
>
Follow ups
References