On Fri, Aug 27, 2021 at 11:38:57AM +0000, Daniel Shahaf wrote:
> 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.

Indeed. The dynamic nature of auth/authz settings and the complexities
of HTTPD authentication features makes this difficult to solve in
general with a client-side only implementation.

I don't think making any server-side changes to support a potential
'svn auth add' command would be worth it. Making server-side changes
would push this idea way too far.

Reply via email to