1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.kpme.tklm.leave.override.authorization;
17
18 import java.util.Map;
19
20 import org.kuali.kpme.core.authorization.KPMEMaintenanceDocumentAuthorizerBase;
21 import org.kuali.kpme.core.role.KPMERoleMemberAttribute;
22
23 @SuppressWarnings("deprecation")
24 public class EmployeeOverrideAuthorizer extends KPMEMaintenanceDocumentAuthorizerBase {
25
26 private static final long serialVersionUID = -7286077333728587902L;
27
28 protected void addRoleQualification(Object dataObject, Map<String, String> attributes) {
29 super.addRoleQualification(dataObject, attributes);
30
31 attributes.put(KPMERoleMemberAttribute.LOCATION.getRoleMemberAttributeName(), "%");
32 }
33
34 }