Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-725

Programming rights should only be effective while parsing the document content

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Won't Fix
    • Critical
    • None
    • 1.0 B1, 1.0 B2
    • Old Core, Security
    • None
    • High
    • N/A
    • N/A

    Description

      This could be done like this:

      1. the context should have a boolean field indicating when programing rights can be effective (i.e. when parsing the document content)
      2. this field should only be set from the rendering functions (getRenderedContent), and reset before returning
      3. checking for programming rights should first check this context property

      Attachments

        Activity

          People

            vmassol Vincent Massol
            sdumitriu Sergiu Dumitriu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: