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