anonymous user can cancel job

26 views
Skip to first unread message

Hector Magnanao

unread,
Jun 9, 2016, 2:40:37 PM6/9/16
to Jenkins Users
I have a matrix user setup on Jenkins.  I have disabled the permission for anonymous to be able to cancel a job.   But when I see the jobs as anonymous,  I'm still able to cancel a running job.  Is there a way to prevent the anonymous user to be able to cancel a job ?

Baptiste Mathus

unread,
Jun 12, 2016, 8:57:47 AM6/12/16
to jenkins...@googlegroups.com
Difficult to help you with so few details, but in case you wonder it is indeed possible to do such restrictions. So check the pseudo-user anonymous permissions maybe.

2016-06-09 20:40 GMT+02:00 Hector Magnanao <hector....@sap.com>:
I have a matrix user setup on Jenkins.  I have disabled the permission for anonymous to be able to cancel a job.   But when I see the jobs as anonymous,  I'm still able to cancel a running job.  Is there a way to prevent the anonymous user to be able to cancel a job ?

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/9deeaec2-389d-4be5-8086-2d8d1bff7224%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Daniel Beck

unread,
Jun 16, 2016, 10:59:30 AM6/16/16
to jenkins...@googlegroups.com

> On 09.06.2016, at 20:40, Hector Magnanao <hector....@sap.com> wrote:
>
> I have disabled the permission for anonymous to be able to cancel a job. But when I see the jobs as anonymous, I'm still able to cancel a running job.

If anonymous is allowed to start a build, anonymous can also cancel builds, as Build implies Cancel (which is pretty terrible choice IMO, but it was made long ago…).

Reply all
Reply to author
Forward
0 new messages