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

Show "Home menu entry" for users that can view the "Home" wiki

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Duplicate
    • Major
    • None
    • 6.4
    • Flamingo Skin, Wiki
    • None
    • Unknown

    Description

      Aside of XWIKI-9518 currently the "Home" menu entry is only shown, if the subwiki allows "only global users".

      In case the Wiki allows "Both global and local users" the global users can access the main wiki, but do not see the menu entry.
      Maybe instead for checking for the type of the wiki it might be better to check for the "type" of user and decide if to display the link or now?

      If that is ok from a performance point of view it might be even simpler to check if the current user has view rights for the start page of the main wiki; in that case exactly the users that would not see a "forbidden" page when clicking on that link will see the menu entry. (Especially no special case is needed for the anonymous user)

      Attachments

        Issue Links

          Activity

            People

              camil7 Clemens Robbenhaar
              camil7 Clemens Robbenhaar
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: