Re: [go-cd] Regarding Gocd user management

2023-08-09 Thread Vijayakumaran A.
  Thanks.It is possible to give access to specific pipelines to specific 
users.

Ex: i have a demo pipeline group in that i have multiple pipelines but i 
wanted to only single pipeline access to specific users. Is this possible ?
On Monday, July 31, 2023 at 8:24:54 PM UTC+5:30 Chad Wilson wrote:

> Generally speaking, the permission required to pause a pipeline should be 
> the same as the permissions required to trigger it ("operate" or "admin" 
> permission to the pipeline or the pipeline group). 
> https://docs.gocd.org/current/configuration/dev_authorization.html
>
> The only other thing I can guess you might have done to get this behaviour 
> is to override the permissions for a single *stage* within a pipeline to 
> allow it to be triggered by only user1 via PipelineConfig > stage > 
> permissions.
>
> Normally this is intended to restrict (manual) stage approval triggers to 
> a different group than the overall pipeline as documented at 
> https://docs.gocd.org/current/configuration/dev_authorization.html#adding-authorization-to-approvals.
>  
> If you are configuring permissions for a pipeline *stage*, you may be 
> doing it in the wrong place to get your desired behaviour. Generally the 
> "pipeline group" is the normal unit of permissioning within GoCD and 
> stage-specific permissions are used for special cases.
>
> Since *pausing* as an operation is at the overall pipeline scope (not for 
> a specific stage), the permissions need to be restricted from the pipeline 
> *group* which the pipeline belongs to.
>
> If you still think something is not working as expected, perhaps share 
> your configuration of the pipeline group and the pipeline stages, and share 
> some more details/screenshots etc so someone else can reproduce what you 
> are seeing.
>
> -Chad
>
> On Mon, Jul 31, 2023 at 6:05 PM Vijayakumaran A. <
> vijayak...@praniontech.com> wrote:
>
>> Hi Team,
>>
>> I am new here and exploring gocd. i have setup one pipeline and created 
>> two users ex:(user1,user2).i have set specific permission only user1 
>> able to trigger the pipeline. when i login as user2 im not able to trigger 
>> the pipeline its working but user2 able to pause the pipeline i don't want 
>> user2 pipeline pause access how to do this .im new to gocd pls help anyone. 
>>
>> Thanks 
>>
>> -- 
>> 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 go-cd+un...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/go-cd/b3c2fe15-9be2-47be-94f2-956a7b6e07c4n%40googlegroups.com
>>  
>> 
>> .
>>
>

-- 
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 go-cd+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/go-cd/83b143a0-05ad-4d2b-b300-0cc18eb3a74an%40googlegroups.com.


Re: [go-cd] Regarding Gocd user management

2023-07-31 Thread Chad Wilson
Generally speaking, the permission required to pause a pipeline should be
the same as the permissions required to trigger it ("operate" or "admin"
permission to the pipeline or the pipeline group).
https://docs.gocd.org/current/configuration/dev_authorization.html

The only other thing I can guess you might have done to get this behaviour
is to override the permissions for a single *stage* within a pipeline to
allow it to be triggered by only user1 via PipelineConfig > stage >
permissions.

Normally this is intended to restrict (manual) stage approval triggers to a
different group than the overall pipeline as documented at
https://docs.gocd.org/current/configuration/dev_authorization.html#adding-authorization-to-approvals.
If you are configuring permissions for a pipeline *stage*, you may be doing
it in the wrong place to get your desired behaviour. Generally the
"pipeline group" is the normal unit of permissioning within GoCD and
stage-specific permissions are used for special cases.

Since *pausing* as an operation is at the overall pipeline scope (not for a
specific stage), the permissions need to be restricted from the pipeline
*group* which the pipeline belongs to.

If you still think something is not working as expected, perhaps share your
configuration of the pipeline group and the pipeline stages, and share some
more details/screenshots etc so someone else can reproduce what you are
seeing.

-Chad

On Mon, Jul 31, 2023 at 6:05 PM Vijayakumaran A. <
vijayakumara...@praniontech.com> wrote:

> Hi Team,
>
> I am new here and exploring gocd. i have setup one pipeline and created
> two users ex:(user1,user2).i have set specific permission only user1 able
> to trigger the pipeline. when i login as user2 im not able to trigger the
> pipeline its working but user2 able to pause the pipeline i don't want
> user2 pipeline pause access how to do this .im new to gocd pls help anyone.
>
> Thanks
>
> --
> 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 go-cd+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/go-cd/b3c2fe15-9be2-47be-94f2-956a7b6e07c4n%40googlegroups.com
> 
> .
>

-- 
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 go-cd+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/go-cd/CAA1RwH9p8ha7u3J3xkozYtVN6DvR7B9oz18uWbQOWdgHaaM9ng%40mail.gmail.com.


[go-cd] Regarding Gocd user management

2023-07-31 Thread Vijayakumaran A.
Hi Team,

I am new here and exploring gocd. i have setup one pipeline and created two 
users ex:(user1,user2).i have set specific permission only user1 able to 
trigger the pipeline. when i login as user2 im not able to trigger the 
pipeline its working but user2 able to pause the pipeline i don't want 
user2 pipeline pause access how to do this .im new to gocd pls help anyone. 

Thanks 

-- 
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 go-cd+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/go-cd/b3c2fe15-9be2-47be-94f2-956a7b6e07c4n%40googlegroups.com.