Enhanced permissions control for git settings
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- git
- Lĩnh vực
- authorization, security
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- ObjectScript
- Star
- 22
- Fork
- 15
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của intersystems/git-source-control
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
intersystems/git-source-control#1015 ·
-
Độ khó 4/5 1-2 ngày Mức phù hợp với người mới 55/100
intersystems/git-source-control#1014 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 18/100
intersystems/git-source-control#1013 ·
Tất cả issue của intersystems/git-source-control
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
2DAW-CarlosIII/eportfolio_g5#35 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
2DAW-CarlosIII/eportfolio_g1#34 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
area:security good first issue size:s type:feature
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 68/100
jmmana/sqlguardllm#16 ·
-
enhancement good first issue help wanted ready
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 70/100
L1UK3/playsouthwales#280 ·
Maintainer thường phản hồi trong vòng 1 ngày