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

Scriptler-plugin Jcasc permissions for role based security stopped working after release 3.5

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • scriptler-plugin
    • None

      Scriptler-plugin Jcasc permissions for role based security stopped working after release 3.5.

      The following jcasc yaml file works for version 3.4

      jenkins:
        authorizationStrategy:
          roleBased:
            roles:
              global:
              - assignments:
                - <some user>
                name: "admin"
                pattern: ".*"
                permissions:
                - "Scriptler/Configure"
                - "Scriptler/RunScripts"
                .....
      
      

       

      After release 3.5 Jenkins throws an internal server error on start up as it cannot map the Scriptler permissions. Going through the commits for the 3.5 release I found that the permisions are moved to a dedicated file - https://github.com/jenkinsci/scriptler-plugin/commit/be98485e8688ead6f1a6928043d82fc71a390e00

            Unassigned Unassigned
            ppetkov Preslav Petkov
            Votes:
            3 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: