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

元信息隐藏文件对管理员失效,对其他新增用户有效。 #7820

Open
4 tasks done
fxxisme opened this issue Jan 15, 2025 · 1 comment
Open
4 tasks done
Labels
bug Something isn't working

Comments

@fxxisme
Copy link

fxxisme commented Jan 15, 2025

Please make sure of the following things

  • I have read the documentation.
    我已经阅读了文档

  • I'm sure there are no duplicate issues or discussions.
    我确定没有重复的issue或讨论。

  • I'm sure it's due to AList and not something else(such as Network ,Dependencies or Operational).
    我确定是AList的问题,而不是其他原因(例如网络依赖操作)。

  • I'm sure this issue is not fixed in the latest version.
    我确定这个问题在最新版本中没有被修复。

AList Version / AList 版本

v3.41.0

Driver used / 使用的存储驱动

/

Describe the bug / 问题描述

如下图 隐藏video文件夹,此时guest用户和admin用户都会看不到,其他新增用户在勾选可看到隐藏时,可以看到该文件夹
image

Reproduction / 复现链接

Config / 配置

Logs / 日志

@fxxisme fxxisme added the bug Something isn't working label Jan 15, 2025
@Jason-Fly
Copy link
Contributor

https://alist.nn.ci/zh/guide/advanced/meta.html
文档中提到:

元信息内的配置仅对访客生效

但目前在代码中没有这方面的判断,而是根据用户是否有“可看到隐藏”权限来判断
image
再查看代码历史记录,发现在2022年修改过相关逻辑
image
总结:

  1. 元信息的配置不再局限于访客了,而是适用于所有用户,设置用户权限即可;
  2. 文档需要更新了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants