Uploaded image for project: '{RETIRED} XWiki Enterprise'
  1. {RETIRED} XWiki Enterprise
  2. XE-440

hasAccessLevel() doesn't work properly for access rights after upgrading XWiki

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Major
    • None
    • 1.7.2
    • Other
    • None
    • Apache Tomcat 6.0.18 Server, XWiki Enterprise 1.7.2 (WAR file deployed on Tomcat), Windows XP SP3
    • access rights, hasAccessLevel, panel

    Description

      We upgraded from XWiki 1.2 to XWiki 1.7.2, and exported all created pages and spaces from the old to the new version. We created new users and groups in the new version, using the user names and group names that had been used for the old version.
      Customizing the 'Quick Links' panel using code like

      #if ($xwiki.hasAccessLevel("view","<space name>.WebHome"))

      • <link>
        #end

      works for the old settings (space rights for users and groups). However, it doesn't work for newly created spaces. It doesn't work for newly created groups either.

      Attachments

        Activity

          People

            tmortagne Thomas Mortagne
            sberkessel Sascha Berkessel
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: