According to this https://jackrabbit.apache.org/api/2.8/org/apache/jackrabbit/commons/jackrabbit/user/AuthorizableQuer... I've put JSON in my datasource to show me users from one group in the selectbox.
This way, all works fine:
{
"selector": "user",
"scope": {
"groupName": "test-approver",
}
}
The problem here is that it includes all users from test-approver group, but not users from groups that are members of "test-approver".
There is option in the documentation provided at the beginning of this question where option
( declaredOnly: true | false )
is shown. This should mean that it will show users from sub-groups I guess.
However when I try to use it, selectbox is empty (even if I try using it as true which is default value).
Example:
{
"selector": "user",
"scope": {
"groupName": "boots-approver",
"declaredOnly": true
}
}
I know there is option of creating a group that will have all users that I want, but this way is more clear so I want to approach it like this. Any ideas why this is not working?