Skip to content
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

Authz allow delegate permissions to all validators #11126

Open
4 tasks
ValarDragon opened this issue Feb 7, 2022 · 0 comments · May be fixed by #22527
Open
4 tasks

Authz allow delegate permissions to all validators #11126

ValarDragon opened this issue Feb 7, 2022 · 0 comments · May be fixed by #22527
Assignees

Comments

@ValarDragon
Copy link
Contributor

ValarDragon commented Feb 7, 2022

Summary

Currently in x/authz, you can't give someone permission to delegate to all validators using the delegate permission. You have to include an AllowList or a DenyList. But if you want to give permission to delegate to all validators, you have to do the generic authorization for the message type. (Or you make your DenyList be some inactive validator)

Problem Definition

Right now you have to use DenyList={inactive validator} or generic permissions to allow someone to delegate to all validators.

Proposal

Allow empty DenyLists, or make it more explicit in the spec that the authz delegate permission is explicitly for if you want to limit what validators can be delegated to.


For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 📋 Backlog
Development

Successfully merging a pull request may close this issue.

4 participants