[openstack-dev] [sdk] identity proxy: users, groups, projects, membership, roles

gerard.damm at wipro.com gerard.damm at wipro.com
Mon May 7 20:02:36 UTC 2018


Hi,

I'm wondering if there are (or should be) operations in the Connection.identity proxy
to manage user and group membership to projects, and to manage user and group role assignments
(there are role management methods in the Project class, but I couldn't find them in the identity proxy):

The 8 operations could be something like that:
add|remove user|group to|from project   (i.e., manage 'Member' role for projects)
assign|unassign role to|from user|role  (any role)

Project operations:
Connection.identity.add_user_to_project(user, project, <other args>)
  user: instance or id
  project: project or id
Connection.identity.remove_user_from_project(user, project, <other args>)

Connection.identity.add_group_to_project(group, project, <other args>)
  group: instance or id
Connection.identity.remove_group_from_project(group, project, <other args>)


Role operations:
Connection.identity.assign_role_to_user(role, user, <other args>)
Connection.identity.unassign_role_from_user(role, user, <other args>)

Connection.identity.assign_role_to_group(role, group, <other args>)
Connection.identity.unassign_role_from_group(role, group, <other args>)

Cheers,
Gerard


The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20180507/0e308a3d/attachment.html>


More information about the OpenStack-dev mailing list