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 : Change Permissions For Organization Users ] #107

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

rohitPandey469
Copy link

Description

Added a new orgs. action called updateUserPermissions, which takes org_handle, userId and permissions as params, then update the permission for the user in "org_users" collection. And also updated the getOrgUserData action to provide "uid" as well so can use it as handle for "handlePermissions" function.
Fixed removeOrgUser action accordingly aswell.

Related Issue

Fixes #78

Motivation and Context

One would want to change permission of the users in organization, according to his work.

How Has This Been Tested?

Tested locally on my machine.

Video reference:

Screen.Recording.-.Feb.26.2024.1.mp4

Delete button is also working, copy the change files and test. Covered in another PR already.

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.
  • All new and existing tests passed.

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.

[ Fix : Permission for Organization Users Can Not Be Changed ]
1 participant