Skip to content

Commit

Permalink
update defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
jnussbaum committed Aug 8, 2024
1 parent 50e693e commit ad1cca3
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions dsp_permissions_scripts/models/scope.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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},
)

0 comments on commit ad1cca3

Please sign in to comment.