Skip to content

Conversation

rohitPandey469
Copy link
Contributor

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 #222

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.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.

@rohitPandey469
Copy link
Contributor Author

@rajutkarsh07 sir here page reload issue and new user's problem is still present, will solve them in different PRs

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