commit cae5ea83effd0bf8f930b6fdf37cb60f6a4c60ca
Author: Goutham Pacha Ravi <email address hidden>
Date: Mon Apr 6 08:52:22 2020 -0700
Delete type access list when deleting types
Currently we're in a foobar situation with two database
models ShareTypeProjects and ShareGroupTypeProjects
where we keep stuff around even when the concerned
ShareType or ShareGroupType objects are deleted.
So, delete type access rules when types are being deleted.
Change-Id: Id135a96f2d1b7306156bab0ddedcb1b838a74f0a
Closes-Bug: #1870751
Signed-off-by: Goutham Pacha Ravi <email address hidden>
(cherry picked from commit 5f80a24ff2a9e68a34e9257a1e533b5dfc8c65da)
(cherry picked from commit da38cf6194fe748edc82bcbc51bd7e8127fb15c4)
(cherry picked from commit 995b8c3150e00ba514d86f67388bdb43637c8a15)
(cherry picked from commit d01708ef7a500929a2f92ea99b2ba14cf789a30f)
Reviewed: https:/ /review. opendev. org/724894 /git.openstack. org/cgit/ openstack/ manila/ commit/ ?id=cae5ea83eff d0bf8f930b6fdf3 7cb60f6a4c60ca
Committed: https:/
Submitter: Zuul
Branch: stable/queens
commit cae5ea83effd0bf 8f930b6fdf37cb6 0f6a4c60ca
Author: Goutham Pacha Ravi <email address hidden>
Date: Mon Apr 6 08:52:22 2020 -0700
Delete type access list when deleting types
Currently we're in a foobar situation with two database rojects
models ShareTypeProjects and ShareGroupTypeP
where we keep stuff around even when the concerned
ShareType or ShareGroupType objects are deleted.
So, delete type access rules when types are being deleted.
Change-Id: Id135a96f2d1b73 06156bab0ddedcb 1b838a74f0a a34e9257a1e533b 5dfc8c65da) edc82bcbc51bd7e 8127fb15c4) 514d86f67388bdb 43637c8a15) 9a2f92ea99b2ba1 4cf789a30f)
Closes-Bug: #1870751
Signed-off-by: Goutham Pacha Ravi <email address hidden>
(cherry picked from commit 5f80a24ff2a9e68
(cherry picked from commit da38cf6194fe748
(cherry picked from commit 995b8c3150e00ba
(cherry picked from commit d01708ef7a50092