Uploaded image for project: 'Shiro'
  1. Shiro
  2. SHIRO-163

ModularRealmAuthorizer.setRealms needs to call applyRolePermissionResolverToRealms

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Incubation
    • Fix Version/s: 1.0.0
    • Component/s: Realms
    • Labels:
      None

      Description

      When updating the list of realms in ModularRealmAuthorizer.setRealms() applyRolePermissionResolverToRealms() was not called

      So this worked if you didn't change your realms.

      Attached patch contains single line fix, and an updated test

        Attachments

        1. ModularRealmAuthorizer.diff
          2 kB
          Brian Demers

          Issue Links

            Activity

              People

              • Assignee:
                kaosko Kalle Korhonen
                Reporter:
                bdemers Brian Demers
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: