feat(invitation): Admin should invite user by role and email #443
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR Description
This PR involves sending invtiation to the user to register to any organization by provindign emai and role.
Description of tasks that were expected to be completed
How has this been tested?
To test this: Clone the this repostory, cd into it then run the following commands:
After that navigate to locahost anvigate to the invition page. then click on invite button the model wibb open. Enter email and select the role. the send you will se the toast notification that invitation sent.
Number of Commits
one commit
Please check this Checklist before you submit your PR: