credentials -> permissions
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 35/100
- Issue 类型
- 功能
- 描述清晰度
- 需要澄清
- 活跃度
- 冷清
- 技术栈
- python
调研方向
首先阅读当前如何向 borgstore.server.rest 命令行提供权限,以及如何处理用户名/密码身份验证。定义权限模型,以及它与已通过身份验证的用户或 API 令牌之间的映射,包括只读、仅追加、pruning 和 compact 访问权限。当需求和授权行为的规范足够详细,可以据此实现和测试时,即视为完成。
由索引模型根据 Issue 内容生成。
描述
Currently, the permissions are just given on the borgstore.server.rest commandline.
So, e.g. one could run a backend on the server, which is read-only or no-delete (~ "append only").
But, usually users will want to periodically switch to a more permissive mode, e.g. to prune archives and run compact. Having to reconfigure the server for that is no good. :-)
Thus, if we use user/password authentication, we need to derive authenticated_user --> permissions.
If we would switch to api tokens, it would be api_token -> permissions.
- 主要语言
- Python
- 星标
- 26
- 派生
- 9
- 平均合并
- 2 小时 22 分钟
- 30 天内合并 PR
- 12
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
borgbackup/borgstore 的其他 Issue
-
难度 5/5 一周以上 新手友好度 35/100
borgbackup/borgstore#234 ·
维护者通常 1 天内回复
-
Let backends declare thread_safe and allow concurrent backend calls in Store (follow-up to #206)未关闭
难度 5/5 一周以上 新手友好度 35/100
borgbackup/borgstore#208 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 35/100
borgbackup/borgstore#201 · 1 条评论 ·
维护者通常 1 天内回复
-
stats: cache_disabled is False even when no cache backend is configured可能已有人在做 @MuhammadBilal64 于 10 天前认领。 未关闭
难度 4/5 3-5 天 新手友好度 48/100
borgbackup/borgstore#199 · 1 条评论 ·
维护者通常 1 天内回复
-
write-back cache未关闭enhancement
难度 5/5 一周以上 新手友好度 30/100
borgbackup/borgstore#169 ·
维护者通常 1 天内回复
查看 borgbackup/borgstore 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 65/100
noontide-co/mainbranch#1211 · 1 条评论 ·
维护者通常 1 天内回复
-
[1.x Bug] run-operation --sql reports success but rolls back writes on transaction-capable adapters未关闭triage
难度 2/5 1-3 小时 新手友好度 64/100
维护者通常 1 天内回复
-
bug needs-triage
难度 2/5 1-3 小时 新手友好度 70/100
维护者通常 1 天内回复
-
bug settings ui
难度 2/5 1-3 小时 新手友好度 72/100
DewaldOosthuizen/py-tray-command-launcher#162 ·
维护者通常 1 天内回复
-
run_all sleeps after the final job despite documenting delays between jobs可能已有人在做 @Gambit-Checkmate 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 74/100