mirror of
				https://github.com/open-webui/open-webui
				synced 2025-06-26 18:26:48 +00:00 
			
		
		
		
	allow custom default user role
This commit is contained in:
		
							parent
							
								
									b1fa32c5d6
								
							
						
					
					
						commit
						214881451d
					
				@ -187,7 +187,7 @@ DEFAULT_PROMPT_SUGGESTIONS = (
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
DEFAULT_USER_ROLE = "pending"
 | 
			
		||||
DEFAULT_USER_ROLE = os.getenv("DEFAULT_USER_ROLE", "pending")
 | 
			
		||||
USER_PERMISSIONS = {"chat": {"deletion": True}}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user