Enhance CountAuthorization to have a sub-authorization field #1483
Labels
authz
cosmos-sdk
Issues/PRs related to our fork of the Cosmos-SDK
enhancement
New feature or request
good first issue
Good for newcomers
wontfix
This will not be worked on
Summary
Add a
sub_authorization
field to theCountAuthorization
(defined in our SDK fork here).Problem Definition
As a granter, I want to be able to enhance any authorization with a limit on the number of uses.
Proposal
Add a
sub_authorization
field to theCountAuthorization
.In the
Accept
, also call theAccept
of the sub-authorization (if there is one) and handle it accordingly.Accept
says to delete, then theCountAuthorization
's should say to too.CountAuthorization
.CountAuthorization
always returns either an updated version or to delete it.Accept
should be returned from theCountAuthorization
'sAccept
.For Admin Use
The text was updated successfully, but these errors were encountered: