use of org.pentaho.di.repository.pur.model.RepositoryObjectAce in project pentaho-kettle by pentaho.
the class UIRepositoryObjectAclTest method createObjectAce.
private ObjectAce createObjectAce() {
ObjectRecipient objectRecipient = new RepositoryObjectRecipient(RECIPIENT1, ObjectRecipient.Type.USER);
ObjectAce objectAce = new RepositoryObjectAce(objectRecipient, EnumSet.of(RepositoryFilePermission.ALL));
return objectAce;
}
use of org.pentaho.di.repository.pur.model.RepositoryObjectAce in project pentaho-kettle by pentaho.
the class UIRepositoryObjectAclsTest method createObjectAce.
private ObjectAce createObjectAce(String recipientName) {
ObjectRecipient objectRecipient = new RepositoryObjectRecipient(recipientName, ObjectRecipient.Type.USER);
ObjectAce objectAce = new RepositoryObjectAce(objectRecipient, EnumSet.of(RepositoryFilePermission.READ, RepositoryFilePermission.WRITE));
return objectAce;
}
Aggregations