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

Performance: Get and check the role in havePermissions

    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

          runzexia runze xia created issue -
          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
          deepansh_nagaria Deepansh Nagaria made changes -
          Field Original Value New Value
          Assignee Oleg Nenashev [ oleg_nenashev ] Deepansh Nagaria [ deepansh_nagaria ]
          deepansh_nagaria Deepansh Nagaria made changes -
          Assignee Deepansh Nagaria [ deepansh_nagaria ] Oleg Nenashev [ oleg_nenashev ]
          deepansh_nagaria Deepansh Nagaria made changes -
          Assignee Oleg Nenashev [ oleg_nenashev ] Deepansh Nagaria [ deepansh_nagaria ]
          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.
          deepansh_nagaria Deepansh Nagaria made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]

            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: