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

Navigation not rendered - problem with permissions

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Invalid
    • Affects Version/s: 8.4.4
    • Fix Version/s: None
    • Component/s: Configuration, Panels
    • Labels:
      None
    • Environment:
      Linux xWiki 4.4.0-75-generic #96-Ubuntu, Tomcat8, xwiki 8.4.4
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      We created few groups on xwiki to set limited access to available resources.

      We have few parent pages on xwiki which we want to have available for group 'A' but other positions should be hidden i.e. 'xwiki' with list of users, 'file manager' etc.

      For 'navigation' panel we set permission only to 'view' for group A. We set the same permission also for user that belongs to this access group.

      We went to parent page and also edit permissions and set the same permissions so only 'view' for this user. For other parent pages that should be hidden we forbid access to 'view'.

      As result user cannot see navigation on xwiki. Instead of navigation user see loading icon.

      We found error in debugger:
      "TypeError: invalid 'in' operand a" in jquery.min.js:2:4041

      We also found that if user is allowed to see 'xwiki' (list of users) then navigation is loaded and accessible but we don't want to allow users to see this list.

      Best regards,
      Artur

        Attachments

          Activity

            People

            • Assignee:
              mflorea Marius Dumitru Florea
              Reporter:
              Artur Pydych Artur Pydych
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: