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

user.isUserInGroup return false if User in Master and group in virtual

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 2.5 M1, 2.4.1
    • 2.4
    • {Unused} APIs
    • None
    • tomcat, mysql
    • right, api, master
    • Unknown

    Description

      --> A user is store in Master Wiki
      --> This user is present in Wiki group in a virtual wiki
      --> Calling API user.isUserInGroup in virtual wiki like :

      $user.isUserInGroup("XWiki.AFKLM_AccepteCharte")
      or
      $user.isUserInGroup("virtualwiki:XWiki.AFKLM_AccepteCharte")

      always return 'false'.
      Previously with release 2.0.3, 'true' was return.

      Julien

      Attachments

        Activity

          People

            tmortagne Thomas Mortagne
            jurevert Julien Revert
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: