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

The required rights analysis doesn't consider TextAreas with default content type

    XMLWordPrintable

Details

    • Unit
    • Unknown
    • N/A
    • N/A

    Description

      Steps to reproduce:

      1. Login as a user without script or programming right
      2. Create a class with a "TextArea" property.
      3. Create a page with an object of the class and in the content of the property, use a Velocity macro.
      4. As admin, try editing the page with the object.

      Expected result:

      A warning is displayed about the Velocity macro.

      Actual result:

      No warning is displayed.

      Note that this issue only reproduces when the content type is the default value. If "Wiki Syntax" is explicitly selected, the analysis works as expected.

      Attachments

        Issue Links

          Activity

            People

              MichaelHamann Michael Hamann
              MichaelHamann Michael Hamann
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: