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

Performance: Offer Enum APIs instead of String APIs in RoleBasedAuthorizationStrategy

    Details

    • Similar Issues:

      Description

      Many methods in RoleStrategy use String APIs. It complicates performance of data fetching, especially for internal API calls.

      It would be nice to introduce a new set of methods which would be using the RoleType enum instead.

       

        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 ]
          deepansh_nagaria Deepansh Nagaria made changes -
          Assignee Deepansh Nagaria [ deepansh_nagaria ]
          abhyudaya Abhyudaya Sharma made changes -
          Assignee Deepansh Nagaria [ deepansh_nagaria ] Abhyudaya Sharma [ abhyudaya ]
          Show
          abhyudaya Abhyudaya Sharma added a comment - See  https://github.com/jenkinsci/role-strategy-plugin/pull/85
          abhyudaya Abhyudaya Sharma made changes -
          Status Open [ 1 ] Fixed but Unreleased [ 10203 ]
          Resolution Fixed [ 1 ]
          abhyudaya Abhyudaya Sharma made changes -
          Status Fixed but Unreleased [ 10203 ] Resolved [ 5 ]
          Released As https://github.com/jenkinsci/role-strategy-plugin/releases/tag/role-strategy-2.12

            People

            • Assignee:
              abhyudaya Abhyudaya Sharma
              Reporter:
              oleg_nenashev Oleg Nenashev
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: