@Singleton public class GeneralMultipleStudyAuthorisation extends StudyAuthorisation
Constructor and Description |
---|
GeneralMultipleStudyAuthorisation() |
Modifier and Type | Method and Description |
---|---|
void |
checkWorkerAllowedToDoStudy(play.mvc.Http.Session session,
Worker worker,
Study study,
Batch batch)
Checks whether the given worker is allowed to do this study in this
batch.
|
void |
checkWorkerAllowedToStartStudy(play.mvc.Http.Session session,
Worker worker,
Study study,
Batch batch)
Checks whether the given worker is allowed to start this study in this
batch.
|
checkMaxTotalWorkers
public void checkWorkerAllowedToStartStudy(play.mvc.Http.Session session, Worker worker, Study study, Batch batch) throws ForbiddenPublixException
StudyAuthorisation
checkWorkerAllowedToStartStudy
in class StudyAuthorisation
ForbiddenPublixException
public void checkWorkerAllowedToDoStudy(play.mvc.Http.Session session, Worker worker, Study study, Batch batch) throws ForbiddenPublixException
StudyAuthorisation
checkWorkerAllowedToDoStudy
in class StudyAuthorisation
ForbiddenPublixException