Details
Description
The userrole xm.security.user-admin gives access to domain security-user-management but /hippo:configuration/hippo:security is not included in this domain. When a user with this role goes to the User panel a console error is thrown in the log and an empty userslist is shown.
Stacktrace
30.09.2021 14:25:58 WARN http-nio-8080-exec-3 [SearchableDataProvider.populateList:144] Unable to instantiate new bean.
2javax.jcr.PathNotFoundException: hippo:configuration/hippo:security
3 at org.apache.jackrabbit.core.NodeImpl$8.perform(NodeImpl.java:2184) ~[jackrabbit-core-2.21.6-h1.jar:14.6.0]
4 at org.apache.jackrabbit.core.NodeImpl$8.perform(NodeImpl.java:2161) ~[jackrabbit-core-2.21.6-h1.jar:14.6.0]
5 at org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:216) ~[jackrabbit-core-2.21.6-h1.jar:2.21.6-h1]
6 at org.apache.jackrabbit.core.ItemImpl.perform(ItemImpl.java:91) ~[jackrabbit-core-2.21.6-h1.jar:14.6.0]
7 at org.apache.jackrabbit.core.NodeImpl.getNode(NodeImpl.java:2161) ~[jackrabbit-core-2.21.6-h1.jar:14.6.0]
8 at org.hippoecm.repository.impl.NodeDecorator.getNode(NodeDecorator.java:163) ~[hippo-repository-engine-14.6.0.jar:14.6.0]
9 at org.hippoecm.repository.impl.NodeDecorator.getNode(NodeDecorator.java:54) ~[hippo-repository-engine-14.6.0.jar:14.6.0]
10 at org.hippoecm.frontend.plugins.cms.admin.users.User.getPasswordMaxAge(User.java:411) ~[hippo-cms-perspectives-14.6.0.jar:14.6.0]
11 at org.hippoecm.frontend.plugins.cms.admin.users.User.init(User.java:406) ~[hippo-cms-perspectives-14.6.0.jar:14.6.0]
12 at org.hippoecm.frontend.plugins.cms.admin.users.User.<init>(User.java:227) ~[hippo-cms-perspectives-14.6.0.jar:14.6.0]
13 at org.hippoecm.frontend.plugins.cms.admin.users.UserDataProvider.createBean(UserDataProvider.java:73) ~[hippo-cms-perspectives-14.6.0.jar:14.6.0]
14 at org.hippoecm.frontend.plugins.cms.admin.users.UserDataProvider.createBean(UserDataProvider.java:38) ~[hippo-cms-perspectives-14.6.0.jar:14.6.0]
15.......
I could reproduce this problem in the GoGreen project.