use of org.structr.files.cmis.repository.StructrReadPermissionMapping in project structr by structr.
the class StructrRepositoryInfo method getPermissionMapping.
@Override
public Map<String, PermissionMapping> getPermissionMapping() {
final Map<String, PermissionMapping> mapping = new LinkedHashMap<>();
mapping.put(Permission.read.name(), new StructrReadPermissionMapping());
mapping.put(Permission.write.name(), new StructrWritePermissionMapping());
mapping.put(Permission.delete.name(), new StructrDeletePermissionMapping());
mapping.put(Permission.accessControl.name(), new StructrAccessControlPermissionMapping());
return mapping;
}
Aggregations