eZ Platform Discussions

Reverserelatedlist issue?


#1

I have a role with a policy with ‘Reverserelatedlist’.

I then assign a user this role with a subtree limitation to a node.

I get an error

An exception has been thrown during the rendering of a template (“User does not have access to ‘reverserelatedlist’ ‘content’ with: contentId ‘165’’”).

Which is odd as 165 is the content that is being viewed and it is a child of the subtree limitation that was selected.

So the content has a relation to itself? The content type does not have a relation field not any embed content.


#2

I believe I have found out the issue.

This does not support subtree’s as it dos not use canUser check against the content info. It is all or nothing. Should it be this way?