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