Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

权限控制不合理 #10

Closed
ephen opened this issue Dec 30, 2015 · 4 comments
Closed

权限控制不合理 #10

ephen opened this issue Dec 30, 2015 · 4 comments

Comments

@ephen
Copy link
Contributor

ephen commented Dec 30, 2015

项目组成员都有权编辑和删除所有内容,删除的权限太大了。

建议只有项目创建者和页面创建者具备删除权限。

@star7th
Copy link
Owner

star7th commented Dec 30, 2015

这个权限控制加上了

@ephen
Copy link
Contributor Author

ephen commented Dec 30, 2015

好赞。。我再试试。

@ephen
Copy link
Contributor Author

ephen commented Dec 30, 2015

嗯,还有删除目录的这个操作也得限制下。
这个我试了下,目录删掉了内容就全没了,看起来比页面操作的危险程度更高。

建议有两种处理方式:
1.删除目录时,将目录下的页面转移到根目录下;
2.权限控制;

个人倾向1,如果有勾选是否转移的选项就更好了。(因为方便一次性删除全部页面

@star7th
Copy link
Owner

star7th commented Dec 30, 2015

我增加了一项限制:"为了安全,不允许直接删除非空目录。请先删除或转移该目录下的所有页面"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants