Johan Corveleyn wrote on Thu, Aug 26, 2021 at 17:26:50 +0200:
> I.e. shouldn't the more general problem statement be "Replace cached
> username+passwords that can't be used to commit with"?

+1

> (hence my first response with "huh, shouldn't a --username make that
> problem moot"? I.e. the user knows which user he's willing to connect
> with, and he knows the authz rules, he just wants the password to be
> checked and "re-cached" if need be)

The solution to "credentials can't be used to commit with" is not
*necessarily* "cache a password for a different username".  It could
also be that the authz file has a business logic error («r» rather than
«rw»), or that the server admin temporarily disabled all writes to the
repository, or that the working copy should be switched from a tag back
to trunk, and so on.

The specific case of one username with two passwords can be implemented
with httpd modules, I believe.  I don't know if anyone does that in
mod_dav_svn specifically, but I know it's used in other contexts.

Reply via email to