Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-55799

Performance: Introduce caching of SIDs in RoleMap

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Currently RoleMap has no caching for SIDs though all performance requests actually operate with SIDs. Each time the permissions is checked, all matching roles have to be checked for SIDs: https://github.com/jenkinsci/role-strategy-plugin/blob/role-strategy-2.9.0/src/main/java/com/michelin/cio/hudson/plugins/rolestrategy/RoleMap.java#L107 

      Extra caching could help in the case of the cases when there are many roles defined in the RoleMap. 

      Such caching needs to be aware of potential security concerns, and there should be proper invalidation

       

        Attachments

          Activity

          oleg_nenashev Oleg Nenashev created issue -
          oleg_nenashev Oleg Nenashev made changes -
          Field Original Value New Value
          Epic Link JENKINS-18377 [ 149684 ]
          oleg_nenashev Oleg Nenashev made changes -
          Assignee Oleg Nenashev [ oleg_nenashev ]

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            oleg_nenashev Oleg Nenashev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: