185186187188189190191192193194
* @param username * @return */ public static boolean roleCanByPassRestrictedAccess(String roleName){ ORole role = getORole(roleName); return role.allow(ODatabaseSecurityResources.BYPASS_RESTRICTED, ORole.PERMISSION_ALL); } }