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

Martins, Tiago tiago.martins at hp.com
Tue Jul 9 17:10:56 UTC 2013

Sorry for this - it went to the wrong list. I'm very embarrassed.


From: Martins, Tiago
Sent: terça-feira, 9 de julho de 2013 13:50
To: openstack-dev at lists.openstack.org
Subject: Created/Deleted-by Parent-data

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?

Tiago Martins
Software Engineer

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


Please print thoughtfully

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

More information about the OpenStack-dev mailing list