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

Create a cast from @vocdoni announcing a new voting for users with high reputation #27

Open
2 tasks
elboletaire opened this issue Mar 22, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@elboletaire
Copy link
Member

I think this should be opt-in, like the notifications feature:

  • Show a switch/checkbox in the UI to create a cast via @vocdoni account
  • Users with high reputation (TBD) and when enabling this feature should produce a cast via the @vocdoni account

What I'm not sure about: obviously the backend should check this reputation, so I think the best approach for the UX is to return some message when calling /create for those users with reputation below the required for this feature.

If we decide to directly disable it in the UX, this still would require a backend check to avoid malicious users altering the request. Also, some endpoint to get the reputation required for each feature would be required in order to avoid code repetition between the front and the back.

@elboletaire elboletaire added the enhancement New feature or request label Mar 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant