Enhanced permissions control for git settings
還沒有人認領這個 Issue。
評估
- 難度
- 5/5
- 預估耗時
- 一週以上
- 新手友好度
- 35/100
- Issue 類型
- 功能
- 描述清晰度
- 基本清楚
- 活躍度
- 活躍
- 技術堆疊
- git
研究方向
Start by tracing the existing permission handling for the git-source-control web UI and the Server Source Control menu, then check how IRIS security roles are defined and applied. The issue does not name files or tests, so locate those entry points before estimating the work. Done means owner, maintainer, and developer roles enforce the described access consistently across both interfaces.
由索引模型根據 Issue 內容生成。
描述
User permissions for git-source-control functionality should be expanded to better fit with that of common remote repositories, such as Gitlab/Github.
Currently, any user with access to the git-source-countrol web UI at all has the complete ability to:
- Change their mode from Basic to Expert
- Access to the Git settings page
On the subject of the settings page, the read-only flag is system-wide, so while it would keep a maintainer or developer out, a project admin would have to manually change the flag, temporarily giving full access to modify settings to any maintainers or developers also using the system.
This is fine for development instances, but for a production IRIS environment, this isn't ideal.
It would be useful to separate out "owner" vs "maintainer" vs "developer" access, with restrictions applying consistently between the web UI pages and the Server Source Control menu.
Owner:
- Expert mode functionality access
- Read/write access to settings UI at all times without needing to change the UI read-only flag
- Full functionality available in repo web UI
Maintainer:
- Basic mode functionality only
- Read-only access to settings UI (could possibly have write access to update mappings only but nothing else)
- Git controls in Server Source Control menu and web UI limited to Basic Mode controls
Developer:
- No access to settings UI
- Read-only access to repo UI
- Only have access to Status and View File History settings
The assignment of these roles should be made at the IRIS security level via new roles created specific from the git-source-control package. This way, developers can have more control over their local repos (access to push, pull, etc.) while having limited access on a production server, and giving maintainers the ability to sync changes from a remote repo without having full access to the entire settings page.
- 主要語言
- ObjectScript
- 星號
- 22
- 分支
- 15
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
- 提供 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
intersystems/git-source-control 的其他 Issue
-
難度 2/5 1-3 小時 新手友好度 68/100
-
難度 2/5 1-3 小時 新手友好度 65/100
-
難度 3/5 1-2 天 新手友好度 55/100
intersystems/git-source-control#1015 ·
-
難度 4/5 1-2 天 新手友好度 55/100
intersystems/git-source-control#1014 ·
-
難度 4/5 3-5 天 新手友好度 18/100
intersystems/git-source-control#1013 ·
查看 intersystems/git-source-control 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 72/100
-
難度 2/5 1-3 小時 新手友好度 62/100
2DAW-CarlosIII/eportfolio_g5#35 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 72/100
2DAW-CarlosIII/eportfolio_g1#34 ·
維護者通常 2 天內回覆
-
area:security good first issue size:s type:feature
難度 2/5 半天 新手友好度 68/100
jmmana/sqlguardllm#16 ·
-
enhancement good first issue help wanted ready
難度 1/5 1 小時以內 新手友好度 70/100
L1UK3/playsouthwales#280 ·
維護者通常 1 天內回覆