Require grants for fewer resource #235
wilsonianb
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Are grants necessary for incoming payments and quotes?
Outgoing payments are currently the only resource utilizing grant limits.
open-payments/openapi/schemas.yaml
Lines 151 to 171 in ae0e924
We've landed on only needing to store grants with outgoing payments in Rafiki. (There doesn't seem to be a need to know/audit the grant used to create an incoming payment or quote.)
Limiting quote reads complicates the necessary access to create a corresponding outgoing payment:
Grants aren't necessary to rate-limit clients.
It seems like this might come down to how important it is to enforce
read
/read-all
andlist
/list-all
?Is listing Open Payments resources (via the Open Payments API) even necessary?
We can restrict incoming payment
/complete
commands to the same client that created the incoming payment with httpsig.Does deprecating
description
/externalRef
make access control less necessary?description
andexternalRef
in favor ofmetadata
#221Does migrating from resource-based grants to scheme(?)-based grants [citation needed] resolve this issue?
Beta Was this translation helpful? Give feedback.
All reactions