public boolean hasPermission(Permission type) {
			switch (type) {
				case GET_ALL_TESTS:
				case DELETE_TEST_OF_OTHER:
				case CHECK_SCRIPT_OF_OTHER:
				case VALIDATE_SCRIPT_OF_OTHER:
				case STOP_TEST_OF_OTHER:
				case SWITCH_TO_ANYONE:
					return true;
				default:
					return false;
			}
		}
Has admin permission or not.

@param type	permission type

@return has the permission or not
ngrinder-core/src/main/java/org/ngrinder/model/Role.java