coder / coder/internal

Implement RBAC layer for `runtimeconfig` package

Aperta
#154 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
tech-debt
Lingua principale
Nessun dato sulla lingua
Stelle
3
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Related to https://github.com/coder/coder/issues/14586

If a cache layer is introduced, then `dbauthz` would be skipped for cache hits. Since the `dbauthz` is a general settings update, the `dbauthz` layer cannot sufficiently distinguish the rbac properties of a setting by it's `key string` alone.

RBAC needs to be woven into `runtimeconfig`.

One idea is to add some rbac element to `Initialize` and `New` so that each field knows it's own RBAC properties.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.