test(access): Ensure items returned from query are from user organization and/or globally set organization

ref: #459 closes #448
This commit is contained in:
2025-01-04 18:04:02 +09:30
parent dd72843ffb
commit 1087dde2d5
48 changed files with 981 additions and 32 deletions

View File

@ -198,6 +198,19 @@ class UserSettingsPermissionsAPI(
):
def test_returned_data_from_user_and_global_organizations_only(self):
"""Check items returned
This test case is a over-ride of a test case with the same name.
This model is not a tenancy model making this test not-applicable.
Items returned from the query Must be from the users organization and
global ONLY!
"""
pass
def test_add_create_not_allowed(self):
""" Check correct permission for add