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

Missleading javadoc in RightsManager.getAllGroupsNamesForMember that causes problems in a multiwiki environment.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: 3.3-milestone-2
    • Fix Version/s: None
    • Component/s: Old Core
    • Labels:
    • keywords:
      javadoc multiwiki groups service
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      Even if the javadoc for RightsManager.getAllGroupsNamesForMember(...) states "Get all groups containing provided user.", it internally uses XWikiGroupService.getAllGroupsNamesForMember(...) that has a more specific/restrictive javadoc and behavior: "Get all groups containing provided member in the provided member wiki." meaning that it only looks in the member's origin wiki.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              tmortagne Thomas Mortagne
              Reporter:
              enygma Eduard Moraru
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response: