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

Update news to use roles 🗞 #241

Open
lucca65 opened this issue May 30, 2022 · 0 comments
Open

Update news to use roles 🗞 #241

lucca65 opened this issue May 30, 2022 · 0 comments
Labels
✨ feature A new feature

Comments

@lucca65
Copy link
Member

lucca65 commented May 30, 2022

Update our news and Communication feature to allow users with a certain role to be able to edit, create and delete news.

This sugestiona came from @iamluizhadad where in Muda, some validators already work as a "semi-admin", helping the core team to admin the community. They already work as a collective, but the app is still focused on a single user admin.

Data Migration phase

  1. Create a role for validators
  2. Add all current validators to this new role. That is, get all users that are validator in any action on Muda and add them to this new role

Programming phase

  1. Modify/create mutations that allow changes to news if the user has the appropriate roles with enough permissions
  2. Plan queries modifications for the frontend to consume
  3. We should also plan to store modification history, so who changed the news, and with what role they had at the time to do so
@lucca65 lucca65 added this to the 🎭 Roles and Permissions milestone May 30, 2022
@lucca65 lucca65 added the ✨ feature A new feature label May 30, 2022
@lucca65 lucca65 moved this from ✨ New Issues to 🧊Waiting in Software Jun 3, 2022
@lucca65 lucca65 changed the title Atualizar Comunicados/News para utilizar roles Update news to use roles Aug 8, 2022
@lucca65 lucca65 changed the title Update news to use roles Update news to use roles 🗞 Aug 8, 2022
@lucca65 lucca65 moved this from 🧊Waiting to 📮 Inbox in Software Jan 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ feature A new feature
Projects
Status: 📮 Inbox
Development

No branches or pull requests

1 participant