Add allowed invitation on globalvar.py
This commit is contained in:
		
							parent
							
								
									2185df8eec
								
							
						
					
					
						commit
						2acb450b64
					
				@ -50,3 +50,7 @@ def invitation_url(token):
 | 
				
			|||||||
    url = f"{baseurl}/accept?token={token}"
 | 
					    url = f"{baseurl}/accept?token={token}"
 | 
				
			||||||
    return url
 | 
					    return url
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					allowed_invitation = [
 | 
				
			||||||
 | 
					    { roles: 1, allowed: [1,2] },
 | 
				
			||||||
 | 
					    { roles: 2, allowed: [2] },
 | 
				
			||||||
 | 
					]
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user