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

Not existing wiki does not inherit rights from main wiki

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 7.4.1
    • Fix Version/s: None
    • Component/s: Security
    • Labels:
      None
    • Difficulty:
      Unknown
    • Similar issues:

      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

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

              Dates

              Created:
              Updated:
              Date of First Response: