Thanks for all those suggestions. I will apply them and will return to you for further guidance.
piątek, 22 marca 2024 o 11:53:49 UTC+1 [email protected] napisał(a): > On Fri, Mar 22, 2024 at 11:12 AM DuMaM <[email protected]> wrote: > >> My work environment requires from me to give users privileges to create >> new jobs, but I need to lock creation of non pipeline jobs. >> I could take a solution proposed a long time ago by Daniel Beck, but I >> fought that maybe it's a good place for a more universal plugin for that >> purpose, so I tweaked his code a bit. >> > > Please note that this doesn't actually do what you seem to claim it does. > It _hides_ the job type from the job creation form, but CLI, remote API, > etc. still allow job creation. See e.g. > https://issues.jenkins.io/browse/JENKINS-52728?focusedId=344840&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-344840 > > in which I point out this limitation (and suggest ExtensionFilter as > alternative). If I claimed somewhere that hide-maven actually prevents job > creation, I apologize for the mistake. > -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/e4c0b320-bdcb-431b-b715-8d0d7a861d35n%40googlegroups.com.
