Okay thanks. That's exactly what I was wondering about. I am a little confused about whether the feature request to set default permissions in the UI for groups without explicit permissions was implemented in any way? (https://github.com/gocd/gocd/issues/4940). The issue was closed but it seems the only references to changes were to remove default permissions and I don't see anything in the docs or Admin pages on how to assign default permissions. Maybe I'm missing something?
We have defined many dozens of pipeline groups created via the JSON config plugin that can no longer be scheduled via the API due to the change in 20.4.0 and is a tedious task to have to manually go to each pipeline group to add the permissions and I suspect it will be a slightly painful ongoing as pipeline group names are added and changed moving forward so having a way to at a minimum set default permissions would help a lot. On Fri, Jan 8, 2021, 3:07 AM Aravind SV <[email protected]> wrote: > Hello Jeff, > > Was there a bug maybe that was fixed that allowed a user to call the > schedule api on a pipeline or pipeline group without needing at least > “operator” permissions? > > Maybe it is this? https://www.gocd.org/releases/#20-4-0 > > It says it was in 20.4.0. Other relevant conversations: > https://github.com/gocd/gocd/issues/4940 and > https://github.com/gocd/docs.go.cd/pull/437. > > Is there a way to create/set role permissions on a pipeline group using > the JSON config plugin? All my pipelines and pipeline groups are created > via the JSON plugin. > > No. I know there was discussion related to this. I think the consensus > was, by doing that it will allow anyone with access to a config repository > to add a pipeline in any group and give themselves permissions to the > group. Something of that sort. > > Cheers, > Aravind > -- You received this message because you are subscribed to the Google Groups "go-cd" 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/go-cd/CAPJK9%3DJuLLB4p84KKKue4_75_Rcqf1FsfDYChbtot4K5uKj7vA%40mail.gmail.com.
