I want to show delete option for a user if he has created particular folder

折月煮酒 提交于 2019-12-24 18:53:16

问题


I have one folder in that some important data available who are having write in that path one of the user deleted one file. So i want the delete option who is owner of the particular folder or file.

Please support this.

Regards Nageswari


回答1:


UI controls is not how such problems are solved: anyone would be free to just not use a particular tool which would have such "client-side" feature to trivially bypass your efforts.

Instead, this should be solved at the server side — where all the changes to the repository are actually created. For instance here is how to protect arbitrary paths of a repository when serving it with the help of a web server.

(FWIW the company behind Subversion has its own Subversion-serving solution which has support for access controls built-in.)



来源:https://stackoverflow.com/questions/53668309/i-want-to-show-delete-option-for-a-user-if-he-has-created-particular-folder

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!