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

MgnlUser bean consistency

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 5.5.5
    • None
    • core
    • Yes
    • Basel 96, Basel 97, Basel 98, Basel 99, Basel 100
    • 13

      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

        Acceptance criteria

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

                Created:
                Updated:
                Resolved:

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