API keys page of the admin, with a secret shown once (A-33)
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- csharp
Línea de trabajo
Read docs/planning/admin-technical-spec.md sections 4.15 and 10.7, plus the referenced requirements in rows 3.1, 3.3, 3.16, and 4.9. Trace the Management API /api-keys and the administration assembly, then check the dependency on A-51 before starting. Done means the listed key operations, one-time secret handling, permission refusals, component and API tests, and end-to-end case meet the acceptance criteria.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Problem
Rows 3.16 and 4.9 ask that API keys are made and managed in the admin. The Management API has /api-keys, and the admin has no page for it. Nothing in the admin can show a secret once and copy it either: the wrapped set has no such component, and no clipboard type is on the script allow-list.
Proposal
A page /api-keys in the administration assembly (4.15):
- The list of the keys the caller may manage:
apikeys.managefor the instance shows every key, and in a site the keys bound to its sites. Any other key answers 404, which the page shows as not found. - Create with class, role, sites, types, expiry, rate limit and allowed addresses. The server checks the permission before it checks that the role and the sites exist, so a caller without it gets the refusal and no field errors.
- The secret is shown once, with a copy button, and is not kept by the admin: a component of
FluentCMS.Admin.Componentsand a clipboard type on the allow-list of 3.1 and 3.3, which the webhooks and MCP halves use after it. - Rotate with an overlap, from none to the server's longest; expire, which only moves the expiry forward; revoke; the allowed addresses.
- Refusals by what they mean: rotate, revoke, expire and the allowed addresses need every grant of the key's role as bound (
FCMS3103).
Acceptance
- An administrator makes a key for one site and one role, copies its secret, and the secret cannot be read again after the dialog closes
- The key is rotated with an overlap, expired and revoked, each shown in the list
- A caller below the key's role sees the refusal named
- A caller who holds
apikeys.managein one site sees that site's keys only - The secret is in no log, no draft and no browser storage, and a kept trace of the end-to-end run holds no screenshot of it
- Component tests cover the create form, the secret and the refusals; the API tests check the records against the OpenAPI document; an end-to-end case makes a key and reads content with it
Design: docs/planning/admin-technical-spec.md, sections 4.15 and 10.7 (A-33). Rows 3.16, 4.9. Needs A-51. 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