Constraints of a grant in the role editor: sites, locales, fields, resources and a row rule (A-52)
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 52/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ệ
- csharp
- Lĩnh vực
- authorization, backend, frontend, testing
Hướng nghiên cứu
Read sections 4.15 and 10.7 of docs/planning/admin-technical-spec.md, then review the role editor work in A-32 and the row-rule registration issue #3417. Implement the grant constraints in the role editor and cover each constraint and request with component tests; add the locale-limited role end-to-end case. Done means the acceptance cases pass, including preserving resources and rejecting an unregistered rule on its field.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Problem
Rows 4.4 to 4.7 narrow a grant to sites, locales, fields and the rows a registered rule selects, and a grant may also be limited to resources, such as the media folders of decision record 0004. A-32 edits a role and its grants and keeps these constraints as it read them. Nothing in the admin sets or changes one.
Proposal
The constraints of a grant in the role editor of A-32 (4.15):
- Sites, from the sites the caller may manage, and locales, from the locales of those sites.
- Fields, for a permission of a content type, from the fields of that type in
GET /schema. - A registered row rule, picked from the rules registered for the grant's content type (#3417). Until that route is merged, a stored rule is kept and shown by its name, and a new one is typed by name, with
FCMS3042shown on the field. resources, which the specification of the editor leaves out and the API has: shown as stored and kept on a save. Where the admin can name them it does, and the media folders of a media grant are the first such case; any other kind stays a list of the ids as stored.- A constraint that does not narrow the grant is left out of the request, as the server stores it.
Acceptance
- An administrator limits a grant of a content type to one site, two locales and three fields, saves, and reads the same back
- A row rule is set on a grant and refused by name when it is not registered, with the refusal on its field
- A grant limited to resources keeps them through an edit of its other constraints
- A user of a role limited to one locale may change an entry in that locale only, checked through the admin
- Component tests cover each constraint and the request they make; an end-to-end case limits a role to a locale and signs in as its user
Design: docs/planning/admin-technical-spec.md, sections 4.15 and 10.7 (A-52). Rows 4.4 to 4.7. Needs A-32, and #3417 for the list of row rules. Split from A-32 when A6 was planned. Size: M.
- Ngôn ngữ chính
- C#
- Star
- 567
- Fork
- 107
- Merge trung bình
- 1 giờ 19 phút
- Pull request đã merge (30 ngày)
- 353
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 fluentcms/FluentCMS
-
area:localization plugin type:bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area:storage type:bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area:testing type:bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area:api area:publishing type:feature
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
fluentcms/FluentCMS#3473 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:storage plugin type:bug
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của fluentcms/FluentCMS
Issue tương tự
-
[Bug]: Threading.Analyzers 0.7.79 does not load on the .NET 10 SDK (CS9057), CHT rules silently offĐang mởbug regression threading
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
CryptoHives/Foundation#362 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug]: 本地歌词翻译显示错误Đang mởbug need-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
Fervent-Tempo/AF-Media-Bar#321 ·
-
a-corriger documentation
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 87/100
christian-raj/S-Aloha#345 ·
-
bug 要トリアージ
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
Maintainer thường phản hồi trong vòng 1 ngày
-
worldInstancedOccluderNode reads its appendix count as one byte, but it is a VLQCó thể đã có người làm @spuddeh đã nhận hôm nay. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày