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

Performance: Get and check the role in havePermissions

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Now the permission check is divided into two steps, getACL and havePermissions. If the ACL only saves the sid information, the whole process is moved into the havePermissions process, which will reduce the memory and CPU usage.

        Attachments

          Activity

          Hide
          runzexia runze xia added a comment -

          However, if you use this approach, the cached object needs to be reconsidered.
          https://issues.jenkins-ci.org/browse/JENKINS-55801

          Show
          runzexia runze xia added a comment - However, if you use this approach, the cached object needs to be reconsidered. https://issues.jenkins-ci.org/browse/JENKINS-55801
          Hide
          deepansh_nagaria Deepansh Nagaria added a comment -

          I attempted this issue. Here's the pr: https://github.com/jenkinsci/role-strategy-plugin/pull/53 please correct me where ever required.

          Show
          deepansh_nagaria Deepansh Nagaria added a comment - I attempted this issue. Here's the pr: https://github.com/jenkinsci/role-strategy-plugin/pull/53 please correct me where ever required.

            People

            Assignee:
            deepansh_nagaria Deepansh Nagaria
            Reporter:
            runzexia runze xia
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: