OpenListTeam / OpenListTeam/OpenList
[Feature] 请求对用户下载权限进行细致设置
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 24.7k
- Forks
- 2.3k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 36
Description
请确认以下事项
-
我已确认阅读并同意 AGPL-3.0 第15条 。
本程序不提供任何明示或暗示的担保,使用风险由您自行承担。 -
我已确认阅读并同意 AGPL-3.0 第16条 。
无论何种情况,版权持有人或其他分发者均不对使用本程序所造成的任何损失承担责任。 -
我确认我的描述清晰,语法礼貌,能帮助开发者快速定位问题,并符合社区规则。
-
我已确认阅读了OpenList文档。
-
我已确认没有重复的问题或讨论。
-
我认为此问题必须由
OpenList处理,而非第三方。 -
我已确认此功能尚未被实现。
-
我已确认此功能是合理的,且有普遍需求,并非我个人需要。
需求描述
目前使用较好,但是想对用户下载权限进行设置。
例如正常使用浏览时可以增加对用户下载权限的开关。
未登录用户可以通过后台设置 是否可以下载,设置全局可下载,则全部登录或未登录用户都可以下载。
用户下载,则有账号的用户组可以下载,可以更进一步设置,比如管理员权限则可以全部下载,非管理员权限,User1 则需要设置下载权限 进行下载。
实现思路
目前使用较好,但是想对用户下载权限进行设置。
例如正常使用浏览时可以增加对用户下载权限的开关。
未登录用户可以通过后台设置 是否可以下载,设置全局可下载,则全部登录或未登录用户都可以下载。
用户下载,则有账号的用户组可以下载,可以更进一步设置,比如管理员权限则可以全部下载,非管理员权限,User1 则需要设置下载权限 进行下载。
附加信息
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files, tests, or entry points. Start by tracing the existing download and user/group permission flows, then clarify the policy for anonymous users, logged-in users, groups, and administrators. Done should be a documented and tested permission model covering the requested download cases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- authorization, backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100