Add "incremental" permission revocation and caveat "subtraction" #4236
Labels
PermissionController
Related to the PermissionController.
team-wallet-api-platform
team-wallet-framework
Following the closure of #4163 (#4222), we will have introduced a notion of "caveat merging" and incremental permission requests to the permission controller. Call this "additive permission requests". To complete the picture, we of course need to add the inverse operation, i.e. "subtractive permission requests" or "incremental revocation". (Really, "incremental" is not an ideal word for this—"partial", anyone?—but since we have already designated "revoke" as the inverse of "request"... here we are.)
Here's a sketch of how this will work:
subtractor
, where consumers have to specify how incremental revocation will work for their caveat.CaveatMutatorOperation
conceit for this.{ wallet_foo: '*' }
to signal that the whole thing should go, but TBD.The text was updated successfully, but these errors were encountered: