-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
加密文章更新后没有删除访问权限 #1518
Comments
欢迎提交 pr。 |
@ruibaby 首先我要确定下,这是一个bug吗?我的判断是正确的吗 |
已确认可以复现。 |
@1379 建议提供一个复现步骤,我们好确定问题是一样的。 |
@JohnNiang 打开两个浏览器。其中一个访问加密文章,输入密码,可以访问。在另一个浏览器里使用管理员登录,修改加密文章的密码,然后回到刚才的浏览器,访问加密文章,不需要输入密码就可以访问。 |
这是我在看源码时发现的问题 |
有人正在修复这个问题吗,我可以提个pr |
没有 |
你们有开发者交流群组吗,我可以加入吗。最近看源码有一些自己的思考想交流下 |
在 issue 交流即可。 |
建议公开交流,这样也能留下讨论记录,更多人能够看到你的想法,有机会和你探讨。 建议在留言的时候把观点或者问题描述清楚,给对方足够多的信息,这样能避免一些反复来回沟通。 |
我发现这个问题有些麻烦 诉求是在更新加密文章时删除所有人对这篇文章的权限。 |
cc @zhixiangyuan |
/assign @guqing |
What is version of Halo has the issue?
latest
What database are you using?
MySQL 8.x
What is your deployment method?
Fat Jar
Your site address.
no
What happened?
代码在这里:
halo/src/main/java/run/halo/app/service/impl/PostServiceImpl.java
Line 897 in c3536cb
这里似乎删除了个寂寞。文章更新后,只删除了当前更新文章的人的权限,也就是说删除了管理员的权限。期望的行为应该是删除所有人对这篇文章的权限吧
Relevant log output
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: