manila/manila/tests/db
Goutham Pacha Ravi d01708ef7a 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 <gouthampravi@gmail.com>
(cherry picked from commit 5f80a24ff2)
(cherry picked from commit da38cf6194)
(cherry picked from commit 995b8c3150)
2020-04-28 07:26:42 -07:00
..
migrations Support metadata for access rule resource 2018-07-20 23:31:48 +08:00
sqlalchemy Delete type access list when deleting types 2020-04-28 07:26:42 -07:00
__init__.py Files with no code must be left completely empty 2016-09-28 17:00:30 +07:00
fakes.py Only allow IP access type for CephFS NFS 2019-03-27 22:53:55 +00:00
test_api.py Remove unnecessary setUp function in testcase 2017-03-30 18:50:49 +08:00
test_migration.py Fix typo in db migration test function name 2015-01-06 10:53:45 +01:00