[openstack-dev] Created/Deleted-by Parent-data

Martins, Tiago tiago.martins at hp.com
Tue Jul 9 16:50:07 UTC 2013


Hi!
I just want to make sure of one thing.

The created/deleted_by has the information of the user performing the action and user role, your examples were always a dict like {"user-id": "user-id", "role":"role-id"}. But I was looking at the identity api method get_roles_for_user_and_domain and it returns a list of roles for a given user in a given domain. So our dict looks something like

{"user-id":"uuid-value", "roles-id":["uuid-value","uuid-value"]}



For the parent data, I have to inform the domain admin of a given domain, but a domain can have more than one admin and your examples were always a dict like {"user-id":"uuid-value", "role":"uuid-value} and a user may have many roles. So parent-data may be a dict of dicts:

{"user uuid-value":{ "roles-id":["uuid-value","uuid-value"]}, "user uuid-value":{ "roles-id":["uuid-value","uuid-value"]}}



So, how this look for you?

Cheers,
Tiago Martins
Software Engineer
BR R&D

tiago.martins at hp.com<mailto:tiago.martins at hp.com>
T +55 51 3205 7673
Hewlett-Packard Company
6681 Ipiranga Ave. Bld 95 - 6th floor
Porto Alegre, RS, 90619-900
Brazil

[HP_Blue_RGB_150_MN]

Please print thoughtfully

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20130709/e2a15071/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 2658 bytes
Desc: image003.png
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20130709/e2a15071/attachment.png>


More information about the OpenStack-dev mailing list