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

Not existing wiki does not inherit rights from main wiki

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 7.4.1
    • Security
    • None
    • Unknown

    Description

      To reproduce:

      • to be executed with a user having admin right on main wiki
      {{velocity}}
      = **Admin** right of user **$xcontext.user**:
      
      * wiki does not exist: **$services.security.authorization.hasAccess('admin', 'wiki:notexisting')**
      * main wiki: **$services.security.authorization.hasAccess('admin', 'wiki:xwiki')**
      
      = **Admin** right of user **superadmin**:
      
      * wiki does not exist: **$services.security.authorization.hasAccess('admin', 'superadmin', 'wiki:notexisting')**
      * main wiki: **$services.security.authorization.hasAccess('admin', 'superadmin', 'wiki:xwiki')**
      {{/velocity}}
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            tmortagne Thomas Mortagne
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: