Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-7028

MgnlUser bean consistency

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.5.5
    • Component/s: core
    • Labels:
    • Template:
    • Release notes required:
      Yes
    • Sprint:
      Basel 96, Basel 97, Basel 98, Basel 99, Basel 100
    • Story Points:
      13

      Description

      In particular MgnlUser.getAllRoles() dynamically query all groups and all roles to flatten it up on every call. Since user object lasts for the duration of user life time and relogin is required to repopulate it, this info should be cached, either lazily upon first call or eagerly upon creation of the user object when normal group info is also populated.

      For details see https://wiki.magnolia-cms.com/display/DEV/Concept+-+Improvements+in+the+security+package#Concept-Improvementsinthesecuritypackage-3.MgnlUserbeanconsistency

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              fgrilli Federico Grilli
              Reporter:
              had Jan Haderka
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0d
                  0d
                  Logged:
                  Time Spent - 2d 3h
                  2d 3h