Skip to content

[Question] User permissions management using the sortable tree  #618

@IDrissAitHafid

Description

@IDrissAitHafid

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:
tree

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 :

Cape

My stack is: React, Node and Mongo if you want to help out on any side ^^

Thank you in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions