-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
AList v3.1.0,元信息设置了文件夹密码,但是实际无效仍可以查看(无论是用户还是游客) #1977
Comments
Thanks for opening your first issue here! Be sure to follow the issue template! |
并非以上问题,请排查 |
更正:元信息设置的文件夹密码不能作用于游客用户,游客用户可以查看所有,用户登录后反而需要填写密码后才能进入文件夹 |
看起来是因为有程序缓存,导致 alist 新设置元信息密码并不立刻生效。我这边试着重启服务,行为就符合预期了。 |
我发现触发这一问题的场景似乎是编辑一个已有的元信息。编辑元信息的路径,提交保存后元信息密码彻底失效,除非将「应用到子文件夹」来回切换保存,或者重启程序,密码才会生效。 无论是旧路径还是新路径,无论原本状态是否应用到子文件夹,都需要来回切换一下「应用到子文件夹」开关,密码功能才恢复正常。 |
然而 知道 路径 加个 /p/ 还可以不用密码。。。 |
https://alist.nn.ci/guide/drivers/common.html#enable-signing |
感谢 |
大佬, 请问一下,, 这么设置以后, 访客 http://ip/test/test.zip 需要密码.. 但是 密码怎么输入都不对= = 这个怎么解? 似乎也有人遇到 #2567 alist 版本: |
在 master 中 重新编译 release 版本也一样。
似乎是这里提示的 密码错误。 alist/server/handles/fsread.go Line 247 in e9bdb91
|
在这里返回了。 Line 41 in e9bdb91
|
至少在这里 Line 37 in e9bdb91
要么直接 隐藏了就不显示输入密码界面, |
Please make sure of the following things
alist
and not something else(such asDependencies
orOperational
).Alist Version / Alist 版本
v3.1.0
Driver used / 使用的存储驱动
Onedrive
Describe the bug / 问题描述
AList v3.1.0,元信息设置了文件夹密码,但是实际无效仍可以查看(无论是用户还是游客)
Reproduction / 复现链接
/
Logs / 日志
The text was updated successfully, but these errors were encountered: