Skip to content

fly command shows just error: forbidden message if not logged in #2134

Closed

Description

@tahsinrahman

Feature Request

What challenge are you facing?

fly command shows error: forbidden message if not logged in v3.10.0. Whereas in previous versions, it showed a message like, user is not logged in, please enter fly -t <target> login to login - which was more verbose and self-explanatory.

A Modest Proposal

It would be great if it showed more elaborate error message like previous versions.

Activity

  1. darshandeshmukh11 commented on Apr 10, 2018

    @darshandeshmukh11

    I am also facing this issue, I made few changes in my concourse pipeline yml file and I am blocked with below error to set the pipeline
    I am already logged in to my concourse instance vi fly CLI

    $ fly -t <my-concourse> set-pipeline -p build-springboot -c concourse-config.yml
    error: forbidden
    
  2. self-assigned this
    on Apr 13, 2018
  3. shashwathi commented on Apr 20, 2018

    @shashwathi
    Contributor

    @darshandeshmukh11 @tahsinrahman

    For fly to prompt you for login, you need to be unauthorized(logged out). error: forbidden is displayed if you are logged in with a different team that does not have access to the resource you are accessing.

  4. mhuangpivotal commented on Apr 24, 2018

    @mhuangpivotal
    Contributor

    @tahsinrahman This was a regression and we made a fix for the next release (after v3.11.0). Thanks for reporting!

  5. added this to the v3.12.0 milestone on Apr 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions