使用 SharpSVN 获取 SVN 文件夹的权限
我有一个存储库,例如“http://svnserver/repository”。用户在文件夹中具有不同的权限:“http://svnserver/repository/folder1”或“http://svnserver/folder2”。如何获得登录用户对特定文件夹的权限(只读或读写)?
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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我不认为你可以使用 Subversion 得到这个,除非尝试提交并查看你是否有写访问权限。
除了您无权访问时的错误消息之外,我在协议或命令中没有看到任何显示访问权限的内容。
为什么需要这个?
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?
我建议尝试这个:
如上所示:
http://www.eggheadcafe.com/community/aspnet/2/10076435/how-to-check-read-write-permission-of -网络上的共享文件夹-pc-for-user.aspx
I would suggest trying this:
As found on:
http://www.eggheadcafe.com/community/aspnet/2/10076435/how-to-check-read-write-permission-of-shared-folder-on-network-pc-for-user.aspx