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

Sub-projects should not be directly configurable

      There is no mechanism to always restrict configuration permission of the children (branch jobs). It currently requires an override of hudson.model.Job#getACL(). This is not possible to do in multi-branch-project-plugin due to direct use of the existing FreeStyleProject, MavenModuleSet, IvyModuleSet, and MatrixProject types. Extending these types to override things such as the ACL was an attempted and failed approach.

      Achieving this would be possible with the API suggested in JENKINS-32596.

      The hidden template should remain configurable by config.xml web API and CLI API. Ideally should not be configurable in UI only, but if not possible then it's fine, since the user isn't linked to the template from any other page.

          [JENKINS-36515] Sub-projects should not be directly configurable

          Matthew DeTullio created issue -
          Matthew DeTullio made changes -
          Link New: This issue depends on JENKINS-32596 [ JENKINS-32596 ]
          Matthew DeTullio made changes -
          Environment Original: Multi-Branch Project Plugin 0.5 New: Multi-Branch Project Plugin 0.2+
          Matthew DeTullio made changes -
          Summary Original: Sub-projects should not be directly configurable New: Sub-projects and template should not be directly configurable
          Matthew DeTullio made changes -
          Summary Original: Sub-projects and template should not be directly configurable New: Sub-projects and hidden template should not be directly configurable
          Matthew DeTullio made changes -
          Summary Original: Sub-projects and hidden template should not be directly configurable New: Sub-projects should not be directly configurable
          Matthew DeTullio made changes -
          Description Original: There is no mechanism to always restrict configuration permission of the children (branch jobs). It currently requires an override of {{hudson.model.Job#getACL()}}. This is not possible to do in {{multi-branch-project-plugin}} due to direct use of the existing {{FreeStyleProject}}, {{MavenModuleSet}}, {{IvyModuleSet}}, and {{MatrixProject}} types. Extending these types to override things such as the ACL was an attempted and failed approach.

          Achieving this would be possible with the API suggested in JENKINS-32596.
          New: There is no mechanism to always restrict configuration permission of the children (branch jobs). It currently requires an override of {{hudson.model.Job#getACL()}}. This is not possible to do in {{multi-branch-project-plugin}} due to direct use of the existing {{FreeStyleProject}}, {{MavenModuleSet}}, {{IvyModuleSet}}, and {{MatrixProject}} types. Extending these types to override things such as the ACL was an attempted and failed approach.

          Achieving this would be possible with the API suggested in JENKINS-32596.

          The hidden template should remain configurable by config.xml web API and CLI API. Ideally should not be configurable in UI only, but if not possible then it's fine, since the user isn't linked to the template from any other page.
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 173228 ] New: JNJira + In-Review [ 185006 ]

          Mark Waite added a comment -

          The multibranch project plugin (not Pipeline) is deprecated. Users should transition to use multibranch Pipeline.

          Closing because this request won't be implemented.

          Mark Waite added a comment - The multibranch project plugin (not Pipeline) is deprecated. Users should transition to use multibranch Pipeline. Closing because this request won't be implemented.
          Mark Waite made changes -
          Resolution New: Won't Do [ 10001 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]

            mjdetullio Matthew DeTullio
            mjdetullio Matthew DeTullio
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: