Enonic version: 7.2
OS: linux/macOS
We have created an event-listener that copies certain content to a separate repo in order to perform some specialized queries on the data. Basically we are converting a list of dates in an option-set to be separate date nodes in a repository.
The problem is now I am unable to query the nodes in the custom repository. It only works if I am logged in as the user who created the nodes (su).
I figured this was a permissions issue, and assigned these permissions to my custom repo nodes, but it still failed:
[
{
‘principal’: ‘role:cms.cm.app’,
‘allow’: [
‘READ’
],
‘deny’: []
},
{
‘principal’: ‘role:system.admin’,
‘allow’: [
‘READ’,
‘CREATE’,
‘MODIFY’,
‘DELETE’,
‘PUBLISH’,
‘READ_PERMISSIONS’,
‘WRITE_PERMISSIONS’
],
‘deny’: []
},
{
‘principal’: ‘role:cms.admin’,
‘allow’: [
‘READ’,
‘CREATE’,
‘MODIFY’,
‘DELETE’,
‘PUBLISH’,
‘READ_PERMISSIONS’,
‘WRITE_PERMISSIONS’
],
‘deny’: []
},
{
‘principal’: ‘role:system.everyone’,
‘allow’: [
‘READ’
],
‘deny’: []
}
]
Do you have any idea what might be causing this? Or, any help in figuring out this issue would be a great help!