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

Details

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

    Description

      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.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: