New roles have all possible permission values set to false

Open
#1,545 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
typescript

Research direction

Start by reproducing the issue through Server settings by creating a role, then trace the server's role-creation and permission-default handling; the issue names no files or tests. Done means a new role uses the @everyone role's default permissions, or the agreed alternative for duplicating an existing role is implemented and verified.

Written by the indexing model from the issue text.

Description

Describe the bug
When creating a new role, the permissions are all set to false. This is very frustrating as you have to go through and re-assign basic permissions to every single role you make.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Server settings
  2. Make a new role
  3. Observe issue

Expected behavior
The role should take on the default values set in the @everyone role. An alternate solution would be to leave the behavior as is and instead allow the user to duplicate an existing role so they can use its permissions as a base.

Console Logs

System Information (please complete the following information):

  • OS: Windows 11, Android 15
  • Using Fermi client along with Hoshi, both exhibit same behavior.

Additional context
Add any other context about the problem here.

Dominant language
TypeScript
Stars
2.2k
Forks
323
Avg merge
14h 48m
Merged PRs (30d)
4

Contributor guide

Open the 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 spacebarchat/server

All issues in spacebarchat/server

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.