use of org.obiba.mica.security.rest.SubjectAclResource in project mica2 by obiba.
the class DraftCollectedDatasetResource method permissions.
@Path("/permissions")
public SubjectAclResource permissions() {
SubjectAclResource subjectAclResource = applicationContext.getBean(SubjectAclResource.class);
subjectAclResource.setResourceInstance("/draft/collected-dataset", id);
subjectAclResource.setFileResourceInstance("/draft/file", "/collected-dataset/" + id);
return subjectAclResource;
}
use of org.obiba.mica.security.rest.SubjectAclResource in project mica2 by obiba.
the class DraftProjectResource method permissions.
@Path("/permissions")
public SubjectAclResource permissions() {
SubjectAclResource subjectAclResource = applicationContext.getBean(SubjectAclResource.class);
subjectAclResource.setResourceInstance("/draft/project", id);
subjectAclResource.setFileResourceInstance("/draft/file", "/project/" + id);
return subjectAclResource;
}
use of org.obiba.mica.security.rest.SubjectAclResource in project mica2 by obiba.
the class DraftHarmonizationStudyResource method accesses.
@Path("/accesses")
public SubjectAclResource accesses() {
SubjectAclResource subjectAclResource = applicationContext.getBean(SubjectAclResource.class);
subjectAclResource.setResourceInstance("/harmonization-study", id);
subjectAclResource.setFileResourceInstance("/file", "/harmonization-study/" + id);
return subjectAclResource;
}
use of org.obiba.mica.security.rest.SubjectAclResource in project mica2 by obiba.
the class DraftIndividualStudyResource method permissions.
@Path("/permissions")
public SubjectAclResource permissions() {
SubjectAclResource subjectAclResource = applicationContext.getBean(SubjectAclResource.class);
subjectAclResource.setResourceInstance("/draft/individual-study", id);
subjectAclResource.setFileResourceInstance("/draft/file", "/individual-study/" + id);
return subjectAclResource;
}
use of org.obiba.mica.security.rest.SubjectAclResource in project mica2 by obiba.
the class DraftCollectedDatasetResource method accesses.
@Path("/accesses")
public SubjectAclResource accesses() {
SubjectAclResource subjectAclResource = applicationContext.getBean(SubjectAclResource.class);
subjectAclResource.setResourceInstance("/collected-dataset", id);
subjectAclResource.setFileResourceInstance("/file", "/collected-dataset/" + id);
return subjectAclResource;
}
Aggregations