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
{{ message }}
Repository navigation
Trigger build button does nothing while visible when user login to a different team #1883
If user login to a team and viewing a build page of a public pipeline that from another team, the + button on the top right for triggering build is visible while clicking it does nothing. Since in this case the user has no right to trigger the build (different team), the button should be invisible.
Concourse version: 3.7
Deployment type (BOSH/Docker/binary): BOSH
Browser (if applicable): Chrome
Did this used to work? No
Reacted by Timothy R. Chavez, shemau and Éamon Ryan
Yes. We are also noticing this with Concourse 5. When I login as a user that has "Team Viewer" access, I can still see the "+" that allows me to trigger a job. When I click it it doesn't do anything which is correct however, I wouldn't expect the button to be there (see screenshot).
The general theme here seems to be "how do we treat actions that you don't have permission to do?".
We've talked about two strategies in the past:
Hide the action based on your detected role, or
show the anyways and deny you when you attempt the action
Currently, based on the implementation of the API and the backend (1) is impossible. But hopefully its more likely with the work that @pivotal-jwinters is doing. (2) is probably the only thing we can do in the meantime.
Activity
timrchavez commentedon Feb 14, 2018
We hit this all the time.
bump etree tsa handlers mux clockwork goxmldsig genproto grpc
kkallday commentedon Mar 20, 2019
Yes. We are also noticing this with Concourse 5. When I login as a user that has "Team Viewer" access, I can still see the "+" that allows me to trigger a job. When I click it it doesn't do anything which is correct however, I wouldn't expect the button to be there (see screenshot).

jama22 commentedon Apr 8, 2019
The general theme here seems to be "how do we treat actions that you don't have permission to do?".
We've talked about two strategies in the past:
Currently, based on the implementation of the API and the backend (1) is impossible. But hopefully its more likely with the work that @pivotal-jwinters is doing. (2) is probably the only thing we can do in the meantime.
stale commentedon Jul 16, 2019
Beep boop! This issue has been idle for long enough that it's time to check
in and see if it's still important.
If it is, what is blocking it? Would anyone be interested in submitting a
PR or
continuing the discussion to help move things forward?
If no activity is observed within the next week, this issue will be
exterminatedclosed, in accordance with our stale issueprocess.