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

Implement invitation modal / invitation flow #55

Open
4 tasks
dromerolovo opened this issue Mar 22, 2023 · 3 comments
Open
4 tasks

Implement invitation modal / invitation flow #55

dromerolovo opened this issue Mar 22, 2023 · 3 comments
Labels
enhancement New feature or request improvement

Comments

@dromerolovo
Copy link
Member

dromerolovo commented Mar 22, 2023

Small Description:

The current CMS only allows for admin invitation, but it needs to be replaced with a system that allows admins to invite moderators and promote them to admin. After the update, admins will have two options available: inviting moderators and promoting them to admin.

  • Create the UI of the modal, this issue depends on the issue Design new invitation modal #54
  • Implement the necessary changes to support this regarding the infrastructure / repository. AuthApiRepository
    This depends on a change that is needed on the api. But the base of the repository could be changed anyway. Right now there's no endpoint to perform the "moderator invitation process". But we could use something like v1/auth/invite-moderator. And leave it there till the endpoint is ready.
  • Implement the necessary changes to support this regarding the application / bloc. AuthBloc
  • Implement the necessary changes to support this regarding UI / infrastructure(repos) / application(bloc). E.g changing naming of "invite admin" to "invite moderator" in cases that are appropriate.
@Xazin
Copy link
Member

Xazin commented Mar 22, 2023

We don't need this, we only actually want to invite Moderators.

So what we need to do, is to make a small change on the backend and it will be fine.

We need another way, for Admins to manage Admins and Moderators, so that a moderator can be promoted by an Admin.

@dromerolovo
Copy link
Member Author

Ok, so an admin would be able to make two actions: 1. Invite a moderator, 2. Promote a moderator to admin, right?

@Xazin
Copy link
Member

Xazin commented Mar 23, 2023

Ok, so an admin would be able to make two actions: 1. Invite a moderator, 2. Promote a moderator to admin, right?

Yes

@dromerolovo dromerolovo added enhancement New feature or request improvement labels Mar 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request improvement
Projects
None yet
Development

No branches or pull requests

2 participants