1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.rice.krad.service;
17
18 import org.kuali.rice.kim.api.identity.Person;
19 import org.kuali.rice.krad.service.DataObjectAuthorizationService;
20
21
22
23
24 public class TestDataObjectAuthorizationService implements DataObjectAuthorizationService {
25
26 @Override
27 public boolean attributeValueNeedsToBeEncryptedOnFormsAndLinks(Class<?> dataObjectClass, String attributeName) {
28 return false;
29 }
30
31 @Override
32 public boolean canCreate(Class<?> dataObjectClass, Person user, String docTypeName) {
33 return true;
34 }
35
36 @Override
37 public boolean canMaintain(Object dataObject, Person user, String docTypeName) {
38 return true;
39 }
40 }