[JIRA] (JENKINS-60942) swarm plugin requires overall/read if not started with user/password

1 view
Skip to first unread message

dar.amit@gmail.com (JIRA)

unread,
Feb 2, 2020, 11:36:03 AM2/2/20
to jenkinsc...@googlegroups.com
Amit Dar created an issue
 
Jenkins / Improvement JENKINS-60942
swarm plugin requires overall/read if not started with user/password
Issue Type: Improvement Improvement
Assignee: Kohsuke Kawaguchi
Components: matrix-project-plugin, swarm-plugin
Created: 2020-02-02 16:35
Environment: jenkins 2.190.2
swarm plugin 3.17
matrix authorization plugin 2.5
Labels: swarm matrix matrix-project
Priority: Major Major
Reporter: Amit Dar

Hi,

I'm a heavy user of the Jenkins swarm plugin.

we are using the plugin to enable users to connect their own machines to the server upon request, perform a check, and then disconnect it.

since we don't require username/password to connect the machines, we had to enable the "anonymous/overall/read" in the global security security (we are using project based matrix authorization).

what I recently discovered is that the jenkins server is not redirecting non-logged in users to the login page if they are trying to access the server using a link sent to them from a failed job execution. they get a 404 error instead.

removing the anonymous/overall/read from global security - fixed that problem.

however, now users are unable to connect their machines to the server unless they provide username and password.

is there a way to make the swarm plugin NOT use the anonymous/overall/read from global security? maybe there is another way to make this combination work?

this is a really weird behavior....

I can provide additional info upon request.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages