Skip to content

Implement invitation modal / invitation flow #55

@dromerolovo

Description

@dromerolovo

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions