You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We noticed that when we refreshed the page on a build while logged out of our Concourse, we were able to briefly see the job information. This seems like a bug since once the page finishes loading it shows us the "Log in to view" message instead.
@benmoss Hmmm, does this happen for all the jobs, or just a specific one? Also, can you provide browser details (in case its browser specific). Trying to reproduce on some of our internal environments here and I'm having difficulty getting repro'd locally
@jama-pivotal it happens for all jobs. this is my browser info, though i'm pretty sure it's not browser specific. I think it only happens when you have public pipelines though.
I looked into the API calls that the Javascript is making and it looks like the API is showing the build values and only the UI is hiding them, so I'm not sure if this is intentional or not. The actual logs aren't leaked, just the build plan.
Beyond the UX aspect, this is something we should either document for exposed pipelines (step names are visible through the API) or fix on the server-side (don't allow fetching plan if job isn't public).
Scheduling this for 'API' to explore whether we can just disallow access to that endpoint.
so #3392 is marked as 'fixing' this issue, but there are some error cases (specifically 401 errors on the plan and prep endpoints) that need to be handled differently in the UI, because now we have 'endless loading' in the cases described above. @vito do you want to merge this and make a separate issue for the UI part?
EDIT: No wait, it's a draft PR! we can push more commits on the same branch.
Activity
[-]Logged out users can see job tasks[/-][+]Logged out users can see build tasks[/+]jama22 commentedon Apr 2, 2018
@benmoss Hmmm, does this happen for all the jobs, or just a specific one? Also, can you provide browser details (in case its browser specific). Trying to reproduce on some of our internal environments here and I'm having difficulty getting repro'd locally
benmoss commentedon Apr 2, 2018
@jama-pivotal it happens for all jobs. this is my browser info, though i'm pretty sure it's not browser specific. I think it only happens when you have public pipelines though.
I looked into the API calls that the Javascript is making and it looks like the API is showing the build values and only the UI is hiding them, so I'm not sure if this is intentional or not. The actual logs aren't leaked, just the build plan.
xtremerui commentedon May 4, 2018
this is a bug in UX. There is indeed a flash of build plans showing first and then disappear.
bump etree tsa handlers mux clockwork goxmldsig genproto grpc
vito commentedon Feb 12, 2019
Beyond the UX aspect, this is something we should either document for exposed pipelines (step names are visible through the API) or fix on the server-side (don't allow fetching plan if job isn't public).
Scheduling this for 'API' to explore whether we can just disallow access to that endpoint.
atc: remove build plan visbility for logged out users
jamieklassen commentedon Feb 26, 2019
so #3392 is marked as 'fixing' this issue, but there are some error cases (specifically 401 errors on the plan and prep endpoints) that need to be handled differently in the UI, because now we have 'endless loading' in the cases described above. @vito do you want to merge this and make a separate issue for the UI part?
EDIT: No wait, it's a draft PR! we can push more commits on the same branch.
vito commentedon Mar 12, 2019
@pivotal-jamie-klassen Right - let's try just making the rest of the changes on the same branch, and then I'll merge it all at once.
web: show passport officer when prep request 401s