mirror of https://github.com/portainer/portainer
				
				
				
			fix(auth): export hasAuthorizations [EE-6595] (#11198)
							parent
							
								
									165d6165dc
								
							
						
					
					
						commit
						95750c2339
					
				| 
						 | 
				
			
			@ -139,7 +139,7 @@ export function useIsEnvironmentAdmin({
 | 
			
		|||
/**
 | 
			
		||||
 * will return true if the user has the authorizations. assumes the user is authenticated and not an admin
 | 
			
		||||
 */
 | 
			
		||||
function hasAuthorizations(
 | 
			
		||||
export function hasAuthorizations(
 | 
			
		||||
  user: User,
 | 
			
		||||
  authorizations: string | string[],
 | 
			
		||||
  environmentId?: EnvironmentId
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue