[ Fix : Implemented The Option to Add&Remove Editor (1), Admins (2), Reviewers (0) to Organization ] #221
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.
Description
The
OrgUsersCard
wasn't using theaddOrgUserModal
which is already present, so I fixed it by opening theaddOrgUserModal
on clicking the+ Add New
button, afterwards when the Modal is opened, it showslist of all the users having access
to the organization including the option to search an organization user and remove lower leveled permission users. And the modal has a+Add New
button as well which adds users to that organization.Now when a tutorial is created by a user in an organization then all other users present in that org. have access to edit it.
Related Issue
Fixes #220
Motivation and Context
Adding an option to add and remove users in an organization with permission.
How Has This Been Tested?
Tested locally on my machine.
Video reference:
What I am doing here?
Logged in through Codelabz UserId and Sarfraz id then Codelabz Org whose access only has the Codelabz User itself, I give the org access to Sarfraz aswell by adding new user to the org with admin roles and now sarfraz can create tutorials for both youtube and Codelabz org.
Screen-Recording.2.mp4
Here shown some more glimpse of it, actually it was already implemented or present in the code I just connected everything and fixed something to make it work.
Screen-Recording.3.mp4
Types of changes
Checklist:
Note:
orgUserCard
and connected it - might be that it wasn't connected or left.