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
Hello Jeff,
Usually, when a change in behavior is made, it is behind a feature flag, to help in case anyone is affected a lot. If no one has a concern after a while, those flags are removed. It looks like this change also has a flag: https://github.com/gocd/gocd/pull/8034
Can you see if that does what you need? If it does, then we can keep it around as an option for you, but leave the default as it is now, since it is more secure.
Regards,
Aravind