Released docs. You are viewing the documentation published with v0.49.0. Development docs are available at Latest.
Every Registry Stack product asks the same three questions about a request. Each question has one home. Knowing the home tells you where to change an answer, and which answer takes effect first.
One rule
Section titled “One rule”- The token says who the caller is. Your issuer signs it, and the product verifies it.
- Configuration says what a profile may do. The access profile lists operations, fields and purposes.
- Records say which rows and which teams. Today this holds only in part, as the next sections show.
A caller cannot widen its own reach. A request field is never an authorisation decision, and a product inherits no authority from another product.
Row authority today comes from token claims
Section titled “Row authority today comes from token claims”A row boundary compares a Record field with a claim in
the verified token. Base Registry Engine (BReg) declares it with rowBoundaries on a record
permission. The rows a caller reaches therefore depend on what your issuer put in the token.
This has two consequences.
- Your issuer must be one you trust to assert the claim.
- A change to a caller’s reach takes effect when the caller next receives a token, not when you change a record.
The compiled form shows the limit of this design. An empty list of boundaries permits every row, and
the authored rowBoundaries: unrestricted compiles to that empty list.
See BReg access profiles for the fields and examples.
Membership boundaries read records, for reads only
Section titled “Membership boundaries read records, for reads only”A membership boundary moves the decision into records. A row is readable only while a current, active membership Record names the caller. Deactivate the membership and the next request no longer sees the row. No token expiry is involved.
Membership boundaries support get, lookup, list, revisions and snapshot only. Today BReg
refuses a profile that combines a membership boundary with any other operation, or with
writableFields. The compiler reports breg.access.membership-read-only and tells you to use a
separate, directly authorised profile for writes and proposal application.
So a registry that must restrict writes by team still uses rowBoundaries and token claims for the
write profile. Membership records cannot yet carry write authority.
Two more limits apply today:
- A profile with a membership boundary cannot enable spatial bounding-box queries.
- A profile declares at most eight membership boundaries.
Casework keeps BReg disclosure under the reviewer’s identity
Section titled “Casework keeps BReg disclosure under the reviewer’s identity”Registry Casework decides who may review a task. It does not decide what a reviewer may see in BReg. When Casework shows a reviewer the current record, BReg answers under the reviewer’s own identity and its own access profile. Casework adds no disclosure authority.
For every human read of a current source, the caller sends a Casework-audience token in
Authorization and a separate BReg-audience token for the same reviewer in
Registry-Source-Authorization. Casework verifies both and forwards only the source token to BReg,
where BReg applies its own profile to the reviewer’s identity.
Continue
Section titled “Continue”Cookies on Registry Stack
We use optional cookies to understand how you use the main Registry Stack website and this documentation. If you contact us, we may link this activity to your enquiry. You can change your choice at any time. Read the privacy policy.
Your browser asks sites not to track you, so optional tracking stays off.
We could not use or save that choice. Optional tracking remains off.