Hello.
I'm use java api when set permission to nodeRef:
permissionService.setPermission(nodeRef, userName, PermissionService.CONTRIBUTOR, true);
but when I see nodeRef in my node browser I don't see the assigned rights for this user.
All what I see in my alfresco log is this(I think this is a consequence):
2021-05-19T14:28:21.816860615Z Caused by: org.apache.ibatis.reflection.ReflectionException: Error instantiating class java.util.ArrayList with invalid types () or values (). Cause: java.security.AccessControlException: access denied ("java.lang.RuntimePermission" "accessDeclaredMembers")
2021-05-19T14:28:21.816865845Z at org.apache.ibatis.reflection.factory.DefaultObjectFactory.instantiateClass(DefaultObjectFactory.java:90)
2021-05-19T14:28:21.816870724Z at org.apache.ibatis.reflection.factory.DefaultObjectFactory.create(DefaultObjectFactory.java:50)why its not work?