AW: Offer re-prompt to change user authn after failed commit?
From: Philipp Mott <Philipp.Mott_at_giffits.de>
Date: Fri, 3 Feb 2017 19:52:23 +0000
AFAIK that's not how SVN simple authentication works.
1. Server tells Client to authenticate.
End of story. If access is denied with these credentials you will have to delete them from the credential cache. SVN only asks for new credentials if it can't find any.
As a workaround you could copy your credential files to a (secured) backup location. Once you need to act as another user you copy the according backup file into the SVN auth directory. It will be used the next time the server asks for credentials.
In TortoiseSVN 1.9.5, on a Windows 10 box , I needed to do a commit from an existing working copy, but on that machine, Tortoise only had cached authentication credentials for a read-only user for the repository in question.
"No problem," I thought, "It'll just fail the first commit attempt, because it will default first to the cached user creds, but then it will prompt me for a new username / password pair, the way the command-line client would, and let me commit with those."
Sitz der Gesellschaft: Hamburg
Diese E-Mail und alle beigefügten Dateien sind vertraulich und nur für den Adressaten bestimmt.
This email is only intended for the addressee. The content of this email, including all attachments is confidential and includes privileged material.
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
This is an archived mail posted to the TortoiseSVN Users mailing list.