Sets up permissions strategy for user access to website features or web app functionality
This commit is contained in:
		
							
								
								
									
										20
									
								
								perms_convention.toml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								perms_convention.toml
									
									
									
									
									
										Normal 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"
 | 
			
		||||
		Reference in New Issue
	
	Block a user