diff --git a/dsp_permissions_scripts/models/scope.py b/dsp_permissions_scripts/models/scope.py index 3d7218f2..6552dabf 100644 --- a/dsp_permissions_scripts/models/scope.py +++ b/dsp_permissions_scripts/models/scope.py @@ -10,6 +10,7 @@ from dsp_permissions_scripts.models.errors import EmptyScopeError from dsp_permissions_scripts.models.group import CREATOR +from dsp_permissions_scripts.models.group import KNOWN_USER from dsp_permissions_scripts.models.group import PROJECT_ADMIN from dsp_permissions_scripts.models.group import PROJECT_MEMBER from dsp_permissions_scripts.models.group import UNKNOWN_USER @@ -120,12 +121,12 @@ def remove( PUBLIC = PermissionScope.create( - CR={PROJECT_ADMIN, CREATOR}, + CR={CREATOR, PROJECT_ADMIN}, D={PROJECT_MEMBER}, - V={UNKNOWN_USER}, + V={KNOWN_USER, UNKNOWN_USER}, ) PRIVATE = PermissionScope.create( - CR={PROJECT_ADMIN, CREATOR}, - D={PROJECT_MEMBER}, + CR={PROJECT_ADMIN}, + M={PROJECT_MEMBER}, )