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

[ Fix : Implemented The Option to Add&Remove Editor (1), Admins (2), Reviewers (0) to Organization ] #221

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rohitPandey469
Copy link
Contributor

Description

The OrgUsersCard wasn't using the addOrgUserModal which is already present, so I fixed it by opening the addOrgUserModal on clicking the + Add New button, afterwards when the Modal is opened, it shows list 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

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly..
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Note:

  1. I have used the already present code in orgUserCard and connected it - might be that it wasn't connected or left.
  2. Adding the users with permission level. So, will use it further to allow edit. ( like Reviewer can't edit or something )
  3. Org. creation for new users is giving bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant