Comment 4 for bug 1246310

Revision history for this message
Rodrigo Duarte (rodrigodsousa) wrote :

Hello there, in order to fix bug #1278920 we need to address this one. After taking a look at the current commands, we decided to create the following:

Positional argument: role-assignment-list with subcommands --tenant (and --tennant-id), --user (and --user-id) and --effective (see /role_assignments at http://api.openstack.org/api-ref-identity.html#Role_Calls).

To accomplish that, we'd need to create a new Resource and Manager (inheriting from base.CrudManager implementing only the list() method) classes at the keystoneclient project (in the /keystoneclient/v3/assignments.py file). In this way, the Python client call would be api.keystone.assignments.list().

Makes sense?