Hello,

We are trying to restrict users from triggering all the stages in a GoCD
pipeline. We tried adding permission within the templates like below:
approval:
type: success
allow_only_on_success: false
authorization:
roles:
- dev
- qa
users: []

This is forcing us to add operate permission on the pipeline groups for
both qa and dev roles. If we add operate permission, then dev and qa groups
are able to trigger any stage even though there is a restriction within the
template stage permissions.

Please let me know if there is a way where we can restrict users to trigger
only the required stages without giving operate access on the pipeline
group.

Thank you,
Shwetha

-- 
You received this message because you are subscribed to the Google Groups "GoCD 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/go-cd/CALFHbX%2Bt-9wWiAhfwzRUvB2tW41M5eO6U92upF6AxuinJjWqfw%40mail.gmail.com.

Reply via email to