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