-
Notifications
You must be signed in to change notification settings - Fork 145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding "titles" or "permissions" #159
Comments
Perhaps related to #131 - permission tokens could be NFTs. |
Does it need to be tied to a token? This reminds me of OpenZeppelin roles https://docs.openzeppelin.com/contracts/4.x/api/access which isn't token based. There would just a table for permissions / roles, and you'd have modifiers/guards that would check that the caller has an associated permission. Would be simpler to implement and reason about. |
EOSIO custom permission is the best implementation I've seen of this https://developers.eos.io/welcome/v2.1/smart-contract-guides/linking-custom-permission IMO |
Definitely doesn't need to be tied to a token! I like this better. |
The Authz module could be used for this: https://docs.cosmos.network/v0.44/modules/authz/01_concepts.html#Authorization
|
This is being done with the Authorizations module as well as SBTs. See: Closing in favor of those issues. |
Some users want special roles or permissions.
DAOs could mint a sort of "permission token" that grants the bearer scoped permissions within some application logic. It could be worth thinking about how to support this with our existing contracts.
The text was updated successfully, but these errors were encountered: