frontend-collective / frontend-collective/react-sortable-tree

[Question] User permissions management using the sortable tree

Open
#618 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
5k
Forks
914
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names a react-sortable-tree use case and a React, Node, and Mongo stack, but no repository file, test, or entry point. First clarify whether permission-aware visibility and editing belong in this component and define the expected behavior; no completion criteria are currently provided.

Written by the indexing model from the issue text.

Assessment

Tech stack
mongodb, node.js, react
Domain
authorization, frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.