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

It's impossible to test the right of a group directly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 12.10
    • 4.0-milestone-2
    • Security
    • None
    • Unit
    • Unknown
    • N/A
    • N/A

    Description

      Passing the reference of a group to AuthorizationManager#hasAccess does not return an error but behave as if no right was associated with this group which could give the false impression that it's working in some case and not in others.

      We should fix the security module so testing the right of a group directly behave as expected.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - Not Specified
                  Not Specified
                  Logged:
                  Time Spent - 1 hour
                  1h