Uploaded image for project: '{RETIRED} XWiki Panels Application'
  1. {RETIRED} XWiki Panels Application
  2. XAPANELS-95

Cannot add objects for which the user doesn't have edit rights on the class definition document

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.26
    • Fix Version/s: 1.27
    • Component/s: Panels
    • Labels:
      None
    • Similar issues:

      Description

      This is a regression introduced in rev 18828 for issue XAPANELS-77

      Here's the faulty code in AddObjects.xml panel:

      #foreach ($classname in $xwiki.classList)
       #if($!xwiki.hasAccessLevel("edit", $classname))
      ...
      

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response: