keystone/keystone
Colleen Murphy 86428a6c66 Delete shadow users when domain is deleted
Without this change, when an admin tries to delete an LDAP-backed
domain, it fails due to the foreign key relationship in the users table.
Previously, we were assuming that LDAP users existed solely in the LDAP
directory, but this is not true with shadow users. This patch fixes the
logic to delete the shadow users upon domain deletion.

Change-Id: I12a08001e3aa08e4db9438cae425ad1a0a8070f7
Closes-bug: #1801873
(cherry picked from commit 1b16725d06)
2019-04-02 15:46:46 +00:00
..
application_credential Invalidate app cred AFTER deletion 2018-10-21 19:52:38 +00:00
assignment Delete system role assignments when deleting groups 2018-02-14 19:21:44 +00:00
auth Use keystone.common.provider_api for auth APIs 2018-02-02 22:07:29 +00:00
catalog Use keystone.common.provider_api for catalog APIs 2017-12-27 16:32:18 +00:00
cmd Grant admin a role on the system during bootstrap 2018-02-14 19:18:23 +00:00
common Fix json schema nullable to add None to ENUM 2018-04-19 13:24:08 +00:00
conf Merge "Impose limits on application credentials" 2018-01-31 22:16:25 +00:00
contrib Remove all v2.0 APIs except the ec2tokens API 2018-02-06 23:12:55 +01:00
credential Merge "Rename fernet_utils to token_utils" 2018-01-16 13:48:28 +00:00
endpoint_policy Use keystone.common.provider_api for endpoint_policy APIs 2017-12-27 16:56:49 +00:00
federation Mapped Groups don't exist breaks WebSSO 2018-09-24 16:06:35 +00:00
identity Delete shadow users when domain is deleted 2019-04-02 15:46:46 +00:00
limit Expose unified limit APIs 2018-01-25 16:33:11 +08:00
locale Imported Translations from Zanata 2018-03-14 06:35:15 +00:00
middleware Implement system-scoped tokens 2018-01-23 23:33:43 +00:00
models Implement system-scoped tokens 2018-01-23 23:33:43 +00:00
oauth1 Remove all v2.0 APIs except the ec2tokens API 2018-02-06 23:12:55 +01:00
policy Use keystone.common.provider_api for policy APIs 2017-12-27 17:10:20 +00:00
resource Remove @expression from tags 2018-03-01 13:26:00 +00:00
revoke Remove all v2.0 APIs except the ec2tokens API 2018-02-06 23:12:55 +01:00
server Add limit provider 2018-01-25 15:45:44 +08:00
tests Set initiator id as user_id for auth events 2019-03-19 10:54:25 +01:00
token Populate application credential data in token 2018-02-20 08:47:02 +01:00
trust Populate application credential data in token 2018-02-20 08:47:02 +01:00
version Remove all v2.0 APIs except the ec2tokens API 2018-02-06 23:12:55 +01:00
__init__.py Revert "Disable eventlet monkey-patching of DNS" 2013-05-10 10:24:48 -04:00
exception.py Impose limits on application credentials 2018-01-27 12:00:23 +01:00
i18n.py Update links in keystone 2017-09-12 15:18:13 +08:00
notifications.py Set initiator id as user_id for auth events 2019-03-19 10:54:25 +01:00