docs(server): require admin for tenant-scoped secret writes (RIG-3655) - #1141
Merged
trunk-io[bot] merged 1 commit intoSep 12, 2026
Conversation
Matt ruled the record's open write-authz question: a plain user may not write a tenant-scoped row. The check reuses the existing store.UserRoleAdmin elevation rather than adding a permission concept, and lands in the store door beside DL-360's referential checks. Reads stay asymmetric on purpose -- resolving a shared tenant value is the feature; writing one is privileged. Records D8 and DL-363, and narrows the remaining open question to the wire surface, which is a public-proto fork. Refs RIG-3655 Co-authored-by: Matt Wilkinson <matt@rigel.build>
This was referenced Sep 12, 2026
rigel-mintaka
added this pull request to stack #1112
September 12, 2026 03:11
|
Compass engineering docs preview: https://compass-server-rig-3655-d8-a.compass-eng-docs.pages.dev Deployed from Changed pages: |
This was referenced Sep 12, 2026
mattwilkinsonn
approved these changes
Sep 12, 2026
|
This pull request was merged into |
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.
This PR is part of a stack containing 7 PRs:
mainMatt ruled the record's open write-authz question: a plain user may not
write a tenant-scoped row. The check reuses the existing
store.UserRoleAdmin elevation rather than adding a permission concept,
and lands in the store door beside DL-360's referential checks. Reads
stay asymmetric on purpose -- resolving a shared tenant value is the
feature; writing one is privileged.
Records D8 and DL-363, and narrows the remaining open question to the
wire surface, which is a public-proto fork.
Refs RIG-3655
Co-authored-by: Matt Wilkinson matt@rigel.build