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

Allow restricting where seed job is able to create jobs

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Today any user is able to create jobs by seed job anywhere in the Jenkins despite of the user does not have permission for that. I am suggesting simple and optional restriction to be able to generate items only into folder of the seed job or in the subfolders which is typically enough. Moreover, typically new users create accidentally jobs in the root folder because of using absolute path and they are not able to delete it.

      • add global configuration option to restrict Job DSL to generate jobs only into its own folder or subfolder
      • fail any attempt to generate jobs outside if restriction is enabled

       

        Attachments

          Activity

          Hide
          kmoco2am Ondrej Kmoch added a comment -

          I have created a PR for this here: https://github.com/jenkinsci/job-dsl-plugin/pull/1234

          Show
          kmoco2am Ondrej Kmoch added a comment - I have created a PR for this here:  https://github.com/jenkinsci/job-dsl-plugin/pull/1234
          Hide
          kmoco2am Ondrej Kmoch added a comment -

          Daniel Spilker, is there anything I can do to move the PR forward?

          Show
          kmoco2am Ondrej Kmoch added a comment - Daniel Spilker , is there anything I can do to move the PR forward?

            People

            Assignee:
            daspilker Daniel Spilker
            Reporter:
            kmoco2am Ondrej Kmoch
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: