Incorrect answer while trying to push changes in repo I have no access to write

Issue #2628 wontfix
Alex Panshin
created an issue

{{{ searching for changes http authorization required realm: HTTP user: Enlightened password: abort: authorization failed }}}

I have an account and write correct password. I was really frustrated getting such an answer. It's a good idea to answer something like 'Forbidden' in this case.

Comments (2)

  1. Dylan Etkin

    Hi Alexander,

    I can see how forbidden would be more accurate but I am not sure that the difference is that important.

    Can you provide a usecase for this change?



  2. Justin Schwartz

    It probably would save some confusion in certain instances if you knew "authorization failed" because you typed in your password wrong as opposed to your account having no permission on the repository.

  3. Log in to comment