如果用户创建了特定文件夹,我想为他显示删除选项 [英] I want to show delete option for a user if he has created particular folder

查看:27
本文介绍了如果用户创建了特定文件夹,我想为他显示删除选项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个文件夹,其中有一些重要数据可用,他们正在该路径中写入其中一个用户删除了一个文件.所以我想要删除选项谁是特定文件夹或文件的所有者.

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.

请支持这个.

问候纳格斯瓦里

推荐答案

UI 控件不是如何解决此类问题的:任何人都可以自由地不使用具有此类客户端"功能的特定工具来琐碎绕过你的努力.

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.

相反,这应该在服务器端解决 - 对存储库的所有更改实际上都是创建的.例如这里是如何保护任意路径的在 Web 服务器的帮助下提供存储库.

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 Subversion 背后的公司有自己的 Subversion 服务解决方案,支持内置的访问控制.)

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

这篇关于如果用户创建了特定文件夹,我想为他显示删除选项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆