RBAC plan step 5, registry part: an endpoint that answers who holds a role-dataset function, so that a Werkmeister step can name a function.
GET /v1/tenants/{id}/role-dataset/holders?function=F[&document=|&product=|&area=] returns the holders in the scope, the function's effective deputies, and a status (besetzt, rolle_offen, nicht_anwendbar). Errors: unknown_function, and scope_required for a function held per document, product or area.
Deputies are listed whatever decision types they cover. They stand in for decisions, so a step that is worked rather than decided counts only the holders; Werkmeister decides that.
/resolve now goes through the same matching. For a decision type, only deputies covering it count, as before.
Access: Werkmeister reads it with its existing tenants.read grant. A user token stays in role-dataset.user, tenant-scoped.
Not touched: managementHolders in contract_documents.go, which keeps holders only for the AVV.
No migration, no catalogue change, no orca change.
RBAC plan step 5, registry part: an endpoint that answers who holds a role-dataset function, so that a Werkmeister step can name a function.
- `GET /v1/tenants/{id}/role-dataset/holders?function=F[&document=|&product=|&area=]` returns the holders in the scope, the function's effective deputies, and a status (`besetzt`, `rolle_offen`, `nicht_anwendbar`). Errors: `unknown_function`, and `scope_required` for a function held per document, product or area.
- Deputies are listed whatever decision types they cover. They stand in for decisions, so a step that is worked rather than decided counts only the holders; Werkmeister decides that.
- `/resolve` now goes through the same matching. For a decision type, only deputies covering it count, as before.
- Access: Werkmeister reads it with its existing `tenants.read` grant. A user token stays in `role-dataset.user`, tenant-scoped.
- Not touched: `managementHolders` in contract_documents.go, which keeps holders only for the AVV.
- No migration, no catalogue change, no orca change.
The Werkmeister PR follows.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_014aRnCGqELxoix5TfpX8Ejf
GET /v1/tenants/{id}/role-dataset/holders?function=…[&scope] answers
who holds a role-dataset function now: the holders in the scope, the
effective deputies of the function and open/filled/not applicable.
Werkmeister reads it (tenants.read) when a step names a function.
It shares the matching with /resolve, which now goes through it; for a
decision type, only deputies covering it count, as before.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014aRnCGqELxoix5TfpX8Ejf
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
RBAC plan step 5, registry part: an endpoint that answers who holds a role-dataset function, so that a Werkmeister step can name a function.
GET /v1/tenants/{id}/role-dataset/holders?function=F[&document=|&product=|&area=]returns the holders in the scope, the function's effective deputies, and a status (besetzt,rolle_offen,nicht_anwendbar). Errors:unknown_function, andscope_requiredfor a function held per document, product or area./resolvenow goes through the same matching. For a decision type, only deputies covering it count, as before.tenants.readgrant. A user token stays inrole-dataset.user, tenant-scoped.managementHoldersin contract_documents.go, which keeps holders only for the AVV.The Werkmeister PR follows.
🤖 Generated with Claude Code
https://claude.ai/code/session_014aRnCGqELxoix5TfpX8Ejf
GET /v1/tenants/{id}/role-dataset/holders?function=…[&scope] answers who holds a role-dataset function now: the holders in the scope, the effective deputies of the function and open/filled/not applicable. Werkmeister reads it (tenants.read) when a step names a function. It shares the matching with /resolve, which now goes through it; for a decision type, only deputies covering it count, as before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014aRnCGqELxoix5TfpX8Ejf