Required JWT authorization for filters_by_party of active contracts?
App Development2 posts23 viewsLast activity Jan 2026
WA
WallaceKellyOP
Jan 2026For this situation…
adminis stakeholder on all contractsclientAis stakeholder on some contracts
… if I call the gRPC GetActiveContracts method (or the state/active-contracts JSON endpoint) with the following…
- A JWT authorizing
canReadAs(admin) - A
filters_by_partyforclientA
Question: Will the query result include the contracts on which clientA is a stakeholder, since admin has “visibility” to all the contracts?
WA
WallaceKelly
Jan 2026No, that call will fail with an auth error.
To filter for clientA contracts, the caller must have authorization to canReadAs(clientA) (which is also implied by canActAs(clientA) and canReadAsAnyParty).
See here:
