use of org.structr.files.cmis.repository.StructrPermissionDefinition in project structr by structr.
the class StructrRepositoryInfo method getPermissions.
@Override
public List<PermissionDefinition> getPermissions() {
final List<PermissionDefinition> permissions = new LinkedList<>();
permissions.add(new StructrPermissionDefinition(Permission.read, "Read access"));
permissions.add(new StructrPermissionDefinition(Permission.write, "Write access"));
permissions.add(new StructrPermissionDefinition(Permission.delete, "Write access"));
permissions.add(new StructrPermissionDefinition(Permission.accessControl, "Access control"));
return permissions;
}
Aggregations