keystone/keystone/assignment
Vishakha Agarwal 28faa24e68 Remove an assignment from domain and project
When you setup a user with a role assignment on a domain
and then a role assignment on a project "acting as a domain",
you can't actually remove them. The database throws you the
error "Multiple rows were found for one()" since it gets two
results for "actor_id" with the same "target_id".

This patch fixes this problem by filtering the database query
by "type" field to determine whether it is a user domain relation
or a user project and then removing the assignment.

Change-Id: Ife92a3c9e0982baafb4224882681c0855f573580
Closes-Bug: #1754677
2020-06-22 14:43:22 +05:30
..
backends Remove an assignment from domain and project 2020-06-22 14:43:22 +05:30
role_backends Remove six usage 2020-01-30 06:06:51 +00:00
__init__.py Convert projects API to Flask 2018-10-11 15:27:46 -07:00
core.py Merge "Fix role_assignments role.id filter" 2020-01-27 20:00:05 +00:00
schema.py Implement resource options for roles and projects 2019-09-09 22:07:30 +00:00