Im using impersonation, and have a few issues regarding showing correct paragraphs to users.
Consider this scenario.
Im logged in as User A which is representing User B.
Paragraph A is denied for User A but allowed for User B.
When im representing User B as User A im not allowed to see Paragraph A, since im really logged in as User A.
But I would like to see Paragraph A since im currently representing User B which is allowed to see Paragraph A.
I have not found any good solution to this, but Im thinking if I can override the security OnBeforeRender on the paragraph I should be able to solve the issue.
Am I complicating things, are there better solutions to this? Or can someone point me in the direction of how to override the security OnBeforeRender?