Repository navigation
labs/managed-rbac: how finely Managed ClickStack splits access - #145
Merged
Merged
Conversation
One shared log table for three games and every layer that decides what a Managed ClickStack user sees: ClickStack roles (resource levels, name/tag/ID rules, the API's beta row conditions), the per-user JWT identity search and dashboards query with, the one shared identity alerts use, and row and masking policies on each. Run on ClickHouse Cloud 26.8.1.608 with one Admin user on 2026-11-07; what a restricted ClickStack role sees is not observed. Closes #144 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A trial organization (ClickHouse Cloud 26.6.1.2455) with the Admin and a
test user in separate browser profiles. Observed: tag rules hide other
dashboards but not rows; a custom role without Team read leaves the app
Unauthorized; roles with row conditions cannot be assigned ("privileges
exceeding your own"); a row policy on one user's JWT identity restricts
that user in search and the console SQL editor while alerts still show
every game. Personal names masked in the new screens.
Refs #144
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Refs #144 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
litkhai
marked this pull request as ready for review
November 7, 2026 06:53
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #144
New lab
labs/managed-rbac. One shared log table for three games (synthetic), plus each layer that decides what a Managed ClickStack user sees. Run on 2026-11-07 in two rounds:hyperdx-chc 2.43.1, alerts2.42.0.Observed:
Unauthorized.JWT::…ClickHouse user with no roles, and alerts as one shared user (hdx-alert-internal/hyperdx-alert-internal).TO ALL EXCEPT …filters search, tiles and alerts.Not run: the
objects-idand systemReadOnlyroles on the test user, masking in round 2, and whether the JWT hash changes on a new login. Names are masked in the round 2 screens. Nowebkey inlab.yaml(owner's call).🤖 Generated with Claude Code