Implement RBAC layer for `runtimeconfig` package
Aperta
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.