Search code examples
c#svnpermissionssharpsvn

Get permission for an SVN folder using SharpSVN


I have have a repository, for example "http://svnserver/repository". Users have different permissions in the folders: "http://svnserver/repository/folder1" or "http://svnserver/folder2". How can I get the permission (read only or read and write) of the user logged in for a specific folder?


Solution

  • I don't think you can get this using Subversion, except by trying to commit and seeing if you have write access.

    I have seen nothing in the protocol or the commands that shows access rights, except for error messages when you don't have access.

    Why do you need this?