public class ModifyAwardAuthorizer extends AwardAuthorizer
kcPersonService, kraWorkflowService| Constructor and Description |
|---|
ModifyAwardAuthorizer() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canUserCreateAward(String userId,
Award award)
We have to consider the case when we are saving the award for the first time.
|
protected boolean |
canUserModifyAward(String userId,
Award award,
AwardDocument doc)
After the initial save, the award can only be modified has the required permission.
|
boolean |
isAuthorized(String userId,
AwardTask task)
Is the user authorized to execute the given Award task?
|
hasPermission, isAuthorized, setKraAuthorizationServicegetTaskName, hasUnitPermission, hasUnitPermission, setKcPersonService, setKraWorkflowService, setTaskName, setUnitAuthorizationServicepublic boolean isAuthorized(String userId, AwardTask task)
AwardAuthorizerisAuthorized in class AwardAuthorizertask - the award taskorg.kuali.kra.irb.document.authorizer.AwardAuthorizer#isAuthorized(java.lang.String, org.kuali.kra.irb.document.authorization.AwardTask)protected boolean canUserCreateAward(String userId, Award award)
userId - award - protected boolean canUserModifyAward(String userId, Award award, AwardDocument doc)
userId - award - Copyright © 2013 The Kuali Foundation. All Rights Reserved.