You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello!
I have a use case for this tree, and I'm wondering if anyone has already done it or can suggest a solution that can help.
So, my problem is that I have used react-sortable-tree to represent an organization department's hierarchy. And now I want to add user permissions to it where not everyone can see all nodes.
Example:
I have just used this photo for simplicity.
So, for example, I have a user who's responsible for Level 2, so he has the right to see the subtree that includes Level 1 and Level 2 but he can write just to the nodes bellow Level 2. then the new tree becomes :
My stack is: React, Node and Mongo if you want to help out on any side ^^