Details
Description
This could be done like this:
- the context should have a boolean field indicating when programing rights can be effective (i.e. when parsing the document content)
- this field should only be set from the rendering functions (getRenderedContent), and reset before returning
- checking for programming rights should first check this context property