-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
页面分享没有继承项目的权限控制 #15
Comments
有继承的,请关闭浏览器或者清空所有Cookies再进行权限测试; |
我自己内网搭建的showdoc,页面分享给其他同事他能打开看呢。 这个同事没有用过showdoc、没有注册账号、而且我分享的链接所属的项目是设了访问密码的。 |
我这边测试是正常的。你试试这个链接:http://doc.star7th.com/index.php/96?page_id=32 它有提示输入密码的 |
我这边还是不行,更新了你刚刚最新的代码还是不可以。 http://doc.star7th.com/index.php/Home/page/index?page_id=32 |
不是分享按钮那个链接的问题哦,测试了下那部分确实没有问题。 |
请分享应该分享的链接给对方。你分享的本身不是应该分享的链接,此问题不算bug,忽略。 |
。。。 |
想了想,此问题可能导致被别人抓站抓页面私密数据,所以还是给页面加上权限判断了 |
showdoc运行在linux系统下由于linux区分大小写导致编辑完成后不能跳转,算bug还是哪里配置问题啊? |
好奇怪,我centos没出问题。区分大小写的问题可参考这个来改:d8c01a4 |
谢谢,我的已经改好了,谢谢开源这套系统,挺好用的 |
被分享的页面可以直接查看,没有继承项目的权限控制。
项目如果非公开,建议需要输入项目的访问密码或者登陆后才能查看,打开链接后先出现/showdoc/index.php/home/item/pwd这个页面。
同时pwd页面建议改进:
1.提示【项目名称】的访问密码;
2.“登陆/注册”后如果有权限则跳转至前面的链接,无权限则保持现状。
The text was updated successfully, but these errors were encountered: