@Test
public void testHasPermissionForOrganizationWithoutGrantedPermissions() throws Exception {

  String content = "" +
          "subject.1.name = subject\n" +
          "organization.1.name = organization" +
          "";
  setup(content);
  assertFalse(accessController.hasPermission(createCredentials(1), createFunctionIdentifier("no_grant"), createOrganizationIdentifier(1)));
  assertFalse(accessController.hasPermission(createCredentials(1), () -> "no_grant", createOrganizationIdentifier(1)));
}