mirror of https://github.com/grafana/grafana.git
				
				
				
			Merge branch 'patch-1' of https://github.com/sairam0903/grafana into sairam0903-patch-1
This commit is contained in:
		
						commit
						fd4ee6b032
					
				| 
						 | 
				
			
			@ -36,6 +36,10 @@ func (r RoleType) Includes(other RoleType) bool {
 | 
			
		|||
		return other != ROLE_ADMIN
 | 
			
		||||
	}
 | 
			
		||||
	
 | 
			
		||||
	if r == ROLE_VIEWER {
 | 
			
		||||
		return other == ROLE_VIEWER
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	return false
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue