Uploaded image for project: 'Magnolia Standard Templating Kit (closed)'
  1. Magnolia Standard Templating Kit (closed)
  2. MGNLSTK-482

STKUtil.currentUserHasOneRole should not modify the user's role collection

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • 1.3
    • None
    • base system
    • None

      currently the STKUtil.currentUserHasOneRole modifies the allRoles collection directly which can lead to loss of roles of logged user. We can use the CollectionUtils.containsAny(allRoles, roles) instead.

        Acceptance criteria

              gjoseph Magnolia International
              zdenekskodik Zdenek Skodik
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: