actionProperty.setValue(instance, actionSet.toString());
userProperty.setValue(instance, resolvePrincipalEntity(recipient));
if (discriminatorProperty.isSet())
{
PermissionDiscriminator discriminator = discriminatorProperty.getAnnotation();
discriminatorProperty.setValue(instance, recipientIsRole ? discriminator.roleValue() :
discriminator.userValue());
}
lookupEntityManager().persist(instance);
return true;
}