list_user_projects method at assignment manager needs to be removed
Bug #1415189 reported by
Samuel de Medeiros Queiroz
This bug report is a duplicate of:
Bug #1415190: list_user_projects method at assignment manager needs to be removed.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Invalid
|
Undecided
|
Wu Wenxiang |
Bug Description
The method list_user_projects at assignment manager [1] is not called anywhere.
In addition, it makes a call to list_user_projects on assignment drivers, which does not exist at all.
[1] https:/
Changed in keystone: | |
assignee: | nobody → Wu Wenxiang (wu-wenxiang) |
To post a comment you must log in.
Hello,
After checking the codes, the drivers' list_user_ projects( ) isn't exist.
However, is it really not called anywhere?
The API /users/ {user_id} /projects in keystone/ assignment/ routers. py is deleted?
$ grep -r "list_user_ projects" * list_user_ projects" : "rule:admin_ or_owner" , v3cloudsample. json: "identity: list_user_ projects" : "rule:owner or rule:admin_ and_matching_ domain_ id", assignment/ controllers. py: def list_user_ projects( self, context, filters, user_id): assignment/ core.py: def list_user_ projects( self, user_id, hints=None): assignment/ core.py: return self.driver. list_user_ projects( assignment/ routers. py: get_action= 'list_user_ projects' ,
etc/policy.json: "identity:
etc/policy.
keystone/
keystone/
keystone/
keystone/