popup = ApplicationSettings.getPopupMenu("steditable");
popup.setContext("study", new StudyRights(cuser, mystudy));
}
- ustep.setActor(cuser);
+ //ustep = getProjectElementService().getFirstStep(mystudy);
+ if (ustep != null) {
+ ustep.setActor(cuser);
+ }
urightstudy = new StudyRights(cuser, mystudy);
urightstep = new StepRights(cuser, ustep);
}
public void setDocumentService(DocumentService documentService) {
_documentService = documentService;
}
+
+ public Study getMystudy() {
+ return mystudy;
+ }
+
+ public void setMystudy(Study mystudy) {
+ this.mystudy = mystudy;
+ }
}
\ No newline at end of file