[JIRA] (JENKINS-58685) Please login to acess job XXX

3 views
Skip to first unread message

naccabbaccan@hotmail.com (JIRA)

unread,
Jul 26, 2019, 4:47:03 PM7/26/19
to jenkinsc...@googlegroups.com
Lucas Baccan created an issue
 
Jenkins / Bug JENKINS-58685
Please login to acess job XXX
Issue Type: Bug Bug
Assignee: Gustaf Lundh
Attachments: picturemessage_ozrrhwke.xqj.png
Components: yet-another-build-visualizer-plugin
Created: 2019-07-26 20:46
Environment: System
java.version 1.8.0_212
os.name Linux
os.version 2.6.32-754.17.1.el6.x86_64

License and dependency information for plugins:
Plain Credentials Plugin
Validating String Parameter Plugin
JSch dependency plugin
Pipeline: Nodes and Processes
Pipeline: API
Infrastructure plugin for Publish Over X
Naginator
ChuckNorris Plugin
JavaScript GUI Lib: jQuery bundles (jQuery and jQuery UI) plugin
EnvInject API Plugin
Progress Telerik AppBuilder Plugin
bouncycastle API Plugin
ThinBackup
JUnit Plugin
Display URL API
Icon Shim Plugin
GitHub API Plugin
Pipeline: Input Step
SCM API Plugin
Pipeline Graph Analysis Plugin
Script Security Plugin
Run Condition Plugin
Branch API Plugin
Git client plugin
SonarQube Scanner for Jenkins
Timestamper
Docker Commons Plugin
OWASP Markup Formatter Plugin
Pipeline: Declarative Agent API
Pipeline: Job
Maven Integration plugin
disk-usage plugin
Durable Task Plugin
Schedule Build Plugin
Pipeline: Stage View Plugin
Git plugin
Slack Notification Plugin
Parameterized Trigger plugin
Pipeline: Build Step
WMI Windows Agents Plugin
description setter plugin
Pipeline: Shared Groovy Libraries
Folders Plugin
Credentials Binding Plugin
Embeddable Build Status Plugin
Pipeline: Declarative
Hidden Parameter plugin
Monitoring
Variant Plugin
Pipeline: Supporting APIs
Docker Pipeline
SSH plugin
Apache HttpComponents Client 4.x API Plugin
Build Timeout
Pipeline: Declarative Extension Points API
Pipeline: SCM Step
Credentials Plugin
GitHub plugin
Pipeline: REST API Plugin
External Monitor Job Type Plugin
Javadoc Plugin
Pipeline: Groovy
Matrix Project Plugin
Authentication Tokens API Plugin
Workspace Cleanup Plugin
Favorite
Multiple SCMs plugin
Pipeline: Stage Step
Conditional BuildStep
Pipeline: Basic Steps
LDAP Plugin
Command Agent Launcher Plugin
HTTP POST Plugin
Role-based Authorization Strategy
Email Extension Plugin
Structs Plugin
GIT server Plugin
Oracle Java SE Development Kit Installer Plugin
Resource Disposer Plugin
Audit Trail
Jackson 2 API Plugin
Parameterized Remote Trigger Plugin
PAM Authentication plugin
JavaScript GUI Lib: Handlebars bundle plugin
jQuery plugin
HTTP Request Plugin
Metrics Plugin
Pipeline
SSH Credentials Plugin
SSH Slaves plugin
JavaScript GUI Lib: ACE Editor bundle plugin
Pipeline: Model API
Token Macro Plugin
Pipeline: Milestone Step
SSH Agent Plugin
Modern Status
Job Configuration History Plugin
Gravatar plugin
Purge Job History Plugin
Matrix Authorization Strategy Plugin
jQuery UI plugin
Date Parameter Plugin
Pipeline: Multibranch
Configuration Slicing plugin
Pipeline: Stage Tags Metadata
Pipeline: Step API
Job Restrictions Plugin
Mailer Plugin
Publish Over SSH
Ant Plugin
Lockable Resources plugin
Copy Artifact Plugin
JavaScript GUI Lib: Moment.js bundle plugin
Environment Injector Plugin
Downstream Build Cache Plugin
Yet Another Build Visualizer
Priority: Minor Minor
Reporter: Lucas Baccan

For some users in my Jenkins, they don't have full acess, only can open some builds.

In some of this builds hava an error, saing that they don't have acess.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

gustaf.lundh@gmail.com (JIRA)

unread,
Aug 9, 2019, 6:51:17 AM8/9/19
to jenkinsc...@googlegroups.com
Gustaf Lundh commented on Bug JENKINS-58685
 
Re: Please login to acess job XXX

Are you sure it is YABV that is the culprit behind the error message? I cannot reproduce this. If I remove read access for a job, that job (and child jobs) are just removed from the Build Flow.

Which YABV version are you running? Which Jenkins version?

naccabbaccan@hotmail.com (JIRA)

unread,
Aug 9, 2019, 8:12:02 AM8/9/19
to jenkinsc...@googlegroups.com

Hi

I think it's a bug with the "Matrix Authorization Strategy Plugin" and YABV, because in my jenkins, i created roles for the users.
If the user don't have a role with permission for the father job or children jobs, they saw the error in the printscreen.
If i gave permission in the role, everything works fine.

I created this bug report in YABV, because in my vision, that plugin create the div with de visualizer, but if i misunderstood, sorry for that. 

My Jenkins version is 2.176.2 and YABV is 1.9.6.

oxygenxo@gmail.com (JIRA)

unread,
Oct 19, 2019, 7:56:02 AM10/19/19
to jenkinsc...@googlegroups.com

I've found this ticket during my investigation of the following messages in Jenkins log:

o.e.j.s.h.ContextHandler$Context#log: While serving http://openvino-ci.intel.com/job/private-ci/job/ie/job/build-windows/2162/yabv/buildFlow: org.acegisecurity.AccessDeniedException: Please login to access job private-ci 

We're using matrix authorization and Job-Read permission wasn't checked for Anonymous role - when I checked it messages have gone. But what if we still want to restrict read access for anonymous users?

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