mirror of
				https://github.com/lingble/chatwoot.git
				synced 2025-10-30 18:47:51 +00:00 
			
		
		
		
	 2dfe38ae4d
			
		
	
	2dfe38ae4d
	
	
	
		
			
			- Add more feature flags for CRM, auto_resolution, and reports - Add a SuperAdmin link in the sidebar if the user is a super-admin - SuperAdmin could view all the features on an account irrespective of whether the feature is enabled.
		
			
				
	
	
		
			19 lines
		
	
	
		
			552 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			552 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| export const FEATURE_FLAGS = {
 | |
|   AGENT_BOTS: 'agent_bots',
 | |
|   AGENT_MANAGEMENT: 'agent_management',
 | |
|   AUTO_RESOLVE_CONVERSATIONS: 'auto_resolve_conversations',
 | |
|   AUTOMATIONS: 'automations',
 | |
|   CAMPAIGNS: 'campaigns',
 | |
|   CANNED_RESPONSES: 'canned_responses',
 | |
|   CRM: 'crm',
 | |
|   CUSTOM_ATTRIBUTES: 'custom_attributes',
 | |
|   INBOX_MANAGEMENT: 'inbox_management',
 | |
|   INTEGRATIONS: 'integrations',
 | |
|   LABELS: 'labels',
 | |
|   MACROS: 'macros',
 | |
|   HELP_CENTER: 'help_center',
 | |
|   REPORTS: 'reports',
 | |
|   TEAM_MANAGEMENT: 'team_management',
 | |
|   VOICE_RECORDER: 'voice_recorder',
 | |
| };
 |