refactor/look at possibility of making permissions a tree

Open
#904 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Refactor
Clarity
Needs clarification
Activity status
Active
Tech stack
typescript

Research direction

Start by locating where permissions are defined and where the UI and permission checks consume them. Map which permissions depend on others, then assess whether representing those relationships as a tree would simplify both areas. The issue does not name specific files or tests, and completion needs a design decision about the permission model.

Written by the indexing model from the issue text.

Description

Many permissions conceptually require you to have other permissions. Maybe creating a sort of tree between all the permissions linking which are logically under other permissions could make the UI and logic easeir?

Dominant language
TypeScript
Stars
11
Forks
2
PR merge metrics
No merged PRs in 30d

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

  • Ships a Dockerfile or Docker Compose file
  • No pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from vevcom/project-next

All issues in vevcom/project-next

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.