code: @Override
  	public boolean checkPermission(Permission permission)
  	{
  		if (permission == null)
  			return false;
  
  		boolean authorized = false;
  		for (Permission accessPermission : permissions)
  		{
  			if(accessPermission.isAuthorized(permission))
  			{
  				authorized = true;
  				break;
  			}
  		}
  		
  		if(negative)
  			return !authorized;
  		else
  			return authorized;
  	}
docs: /* (non-Javadoc)
  @see nyla.solutions.core.security.data.AccessControl#checkPermission(nyla.solutions.core.security.data.Permission)