Uploaded image for project: 'Jetspeed (Retired)'
  1. Jetspeed (Retired)
  2. JS1-237

[PATCH] SecurityCacheImpl overwites cached permissions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • 1.4b4-dev / CVS
    • None
    • Security
    • None
    • Operating System: Windows NT/2K
      Platform: PC
    • 17734

    Description

      SecurityCacheImpl caches all existing roles and their associated permissions
      when it is first invoked. When assigning an existing role to any user,
      SecurityCacheImpl adds that role for the user and then overwites that Role's
      permissions with a blank HashMap. This effectively removes all permissions for
      that role for every user.

      This can be fixed by checking to see if the Role has already been cached in
      addRole(username, Role). This check is already done in addRole(Role).

      Attachments

        Activity

          People

            Unassigned Unassigned
            sbelden@bjc.org Stuart Belden
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: