|  |  | @ -42,11 +42,6 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |           <%= link_to 'Users', settings_users_path, class: 'text-base hover:bg-base-300' %> |  |  |  |           <%= link_to 'Users', settings_users_path, class: 'text-base hover:bg-base-300' %> | 
			
		
	
		
		
			
				
					
					|  |  |  |         </li> |  |  |  |         </li> | 
			
		
	
		
		
			
				
					
					|  |  |  |       <% end %> |  |  |  |       <% end %> | 
			
		
	
		
		
			
				
					
					|  |  |  |       <% if can?(:manage, :saml_sso) && can?(:read, EncryptedConfig.new(key: 'saml_configs', account: current_account)) && true_user == current_user %> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         <li> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |           <%= link_to 'SSO', settings_sso_index_path, class: 'text-base hover:bg-base-300' %> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         </li> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |       <% end %> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |       <% if Docuseal.demo? || !Docuseal.multitenant? %> |  |  |  |       <% if Docuseal.demo? || !Docuseal.multitenant? %> | 
			
		
	
		
		
			
				
					
					|  |  |  |         <% if can?(:read, AccessToken) %> |  |  |  |         <% if can?(:read, AccessToken) %> | 
			
		
	
		
		
			
				
					
					|  |  |  |           <li> |  |  |  |           <li> | 
			
		
	
	
		
		
			
				
					|  |  | @ -86,6 +81,11 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |             <% end %> |  |  |  |             <% end %> | 
			
		
	
		
		
			
				
					
					|  |  |  |           </li> |  |  |  |           </li> | 
			
		
	
		
		
			
				
					
					|  |  |  |         <% end %> |  |  |  |         <% end %> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         <% if can?(:manage, :saml_sso) && can?(:read, EncryptedConfig.new(key: 'saml_configs', account: current_account)) && true_user == current_user %> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           <li> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             <%= link_to 'SSO', settings_sso_index_path, class: 'text-base hover:bg-base-300' %> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           </li> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         <% end %> | 
			
		
	
		
		
			
				
					
					|  |  |  |         <% if (can?(:manage, EncryptedConfig) && current_user == true_user) || (current_user != true_user && current_account.testing?) %> |  |  |  |         <% if (can?(:manage, EncryptedConfig) && current_user == true_user) || (current_user != true_user && current_account.testing?) %> | 
			
		
	
		
		
			
				
					
					|  |  |  |           <li> |  |  |  |           <li> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <%= form_for '', url: testing_account_path, method: current_account.testing? ? :delete : :get, html: { class: 'flex w-full' } do |f| %> |  |  |  |             <%= form_for '', url: testing_account_path, method: current_account.testing? ? :delete : :get, html: { class: 'flex w-full' } do |f| %> | 
			
		
	
	
		
		
			
				
					|  |  | 
 |