Sets up permissions strategy for user access to website features or web app functionality

This commit is contained in:
Alex Tavarez
2025-07-25 11:39:24 -04:00
parent e1a9f32c21
commit 20bd5ac4a5

20
perms_convention.toml Normal file
View File

@@ -0,0 +1,20 @@
# Scope of where an activity may take place
[activity.scopes]
blog = 0
share = 1
catalog = 2
stream = 3
talk = 4
site = 5
# Activities that may occur in any scope--
# Their values are added together to
# express one permission value per scope
[activity.permission_values]
read = 4
publish = 2
comment = 8
review = 1
[pub_slugs]
algo = "randnum_concat"