coder / coder/internal

Implement RBAC layer for `runtimeconfig` package

Open
#154 2 comments 0 reactions 0 assignees View on GitHub
tech-debt
Dominant language
No language data
Stars
3
Forks
0
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.