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

Can not add role in Jenkins 2.426.1 with folder auth plugin because Prototype.js is used in folder auth plugin

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • folder-auth-plugin
    • None

      Can not add role in Jenkins 2.426.1 with folder auth plugin due to a dependency on Prototype.js.

        1. 1.jpg
          1.jpg
          71 kB
        2. 2.jpg
          2.jpg
          77 kB
        3. 3.jpg
          3.jpg
          69 kB
        4. 4.jpg
          4.jpg
          245 kB
        5. addrole.js
          4 kB

          [JENKINS-72433] Can not add role in Jenkins 2.426.1 with folder auth plugin because Prototype.js is used in folder auth plugin

          jack added a comment -

          Role-based Authorization Strategy seems like a good solution.

          jack added a comment - Role-based Authorization Strategy seems like a good solution.

          Dominik added a comment -

          As workaround I modified /plugin/folder-auth/js/addrole.js file (replace it on your server):
          addrole.js

          Probably not optimal, but maybe it will help somebody until official fix is made.

          Dominik added a comment - As workaround I modified /plugin/folder-auth/js/addrole.js file (replace it on your server): addrole.js Probably not optimal, but maybe it will help somebody until official fix is made.

          jack added a comment -

          Thanks, you are so kind.

          jack added a comment - Thanks, you are so kind.

          harshal added a comment -

          After adding addrole .js we are able to add the roles in jenkins however we are not able to add users in the same role which is added newly 

          harshal added a comment - After adding addrole .js we are able to add the roles in jenkins however we are not able to add users in the same role which is added newly 

            abhyudaya Abhyudaya Sharma
            281164811 jack
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: