meteor-roles icon indicating copy to clipboard operation
meteor-roles copied to clipboard

Add new function to change scope of existing role assignment

Open StorytellerCZ opened this issue 2 years ago • 1 comments

Add a new function that would accept userId, targetRole and newScope which would then go and change the scope of the assigned role to the newScope. Right now if I want to just change scope I need to remove role and then add it again. For use cases where user can be assigned the same role into multiple scopes, the function should fail if it finds more than one results or have an optional parameter to define the previous scope.

Thoughts?

StorytellerCZ avatar Oct 15 '23 18:10 StorytellerCZ

Thank you for submitting this issue!

We, the Members of Meteor Community Packages take every issue seriously. Our goal is to provide long-term lifecycles for packages and keep up with the newest changes in Meteor and the overall NodeJs/JavaScript ecosystem.

However, we contribute to these packages mostly in our free time. Therefore, we can't guarantee your issues to be solved within certain time.

If you think this issue is trivial to solve, don't hesitate to submit a pull request, too! We will accompany you in the process with reviews and hints on how to get development set up.

Please also consider sponsoring the maintainers of the package. If you don't know who is currently maintaining this package, just leave a comment and we'll let you know

github-actions[bot] avatar Oct 15 '23 18:10 github-actions[bot]