Constraints of a grant in the role editor: sites, locales, fields, resources and a row rule (A-52)
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 52/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- csharp
- Área
- authorization, backend, frontend, testing
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- C#
- Estrellas
- 567
- Forks
- 107
- Merge medio
- 1 h 19 min
- PR fusionados (30 d)
- 353
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de fluentcms/FluentCMS
-
area:localization plugin type:bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
area:storage type:bug
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
Los mantenedores suelen responder en 1 día
-
area:testing type:bug
Dificultad 3/5 1-2 días Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
area:api area:publishing type:feature
Dificultad 4/5 3-5 días Aptitud para principiantes 55/100
fluentcms/FluentCMS#3473 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
area:storage plugin type:bug
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
Los mantenedores suelen responder en 1 día
Todos los issues de fluentcms/FluentCMS
Issues similares
-
[Bug]: Threading.Analyzers 0.7.79 does not load on the .NET 10 SDK (CS9057), CHT rules silently offAbiertobug regression threading
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
CryptoHives/Foundation#362 ·
Los mantenedores suelen responder en 1 día
-
[Bug]: 本地歌词翻译显示错误Abiertobug need-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
Fervent-Tempo/AF-Media-Bar#321 ·
-
a-corriger documentation
Dificultad 1/5 Menos de una hora Aptitud para principiantes 87/100
christian-raj/S-Aloha#345 ·
-
bug 要トリアージ
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
Los mantenedores suelen responder en 1 día
-
worldInstancedOccluderNode reads its appendix count as one byte, but it is a VLQPosiblemente ocupada @spuddeh la tomó hoy. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día