Details
-
Type:
New Feature
-
Status: Resolved (View Workflow)
-
Priority:
Major
-
Resolution: Fixed
-
Component/s: embeddable-build-status-plugin
-
Labels:
-
Environment:Matrix-based security
Project-based Matrix Authorization Strategy
-
Similar Issues:
Description
Currently, this plugin requires that the anonymous user has overall Read permissions on Jenkins. If you remove overall Read permission from the anonymous user, this plugin does not work.
If the anonymous user has no Overall Read permissions, but has Job Read permissions, then the icons should still work. But it appears that Jenkins still wants the user to login. This might be a limitation of Jenkins authorization.
Attachments
Issue Links
- duplicates
-
JENKINS-17798 build badge icon requires authentication
-
- Closed
-
Activity
Field | Original Value | New Value |
---|---|---|
Link |
This issue duplicates |
Resolution | Fixed [ 1 ] | |
Status | Open [ 1 ] | Resolved [ 5 ] |
Workflow | JNJira [ 146570 ] | JNJira + In-Review [ 191981 ] |
A very easy workaround would be that instead of having the entrypoint
{JENKINS_URL}/job/{JOB_NAME}/badge/icon redirects to {JENKINS_URL}/static/
{HASH?}/plugin/embeddable-build-status/status/
{STATUS_IMAGE}, why not just generate the image and overwrite to a always fixed image link that is specified by the admin of the job/Jenkins server.