New roles have all possible permission values set to false
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
- Domain
- authorization, backend
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:
- Go to Server settings
- Make a new role
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from spacebarchat/server
-
Difficulty 1/5 Under an hour Newbie friendliness 95/100
spacebarchat/server#1691 ·
-
javascript Module: API Priority:medium
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
spacebarchat/server#1664 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
spacebarchat/server#1679 ·
-
spacebarchat/server#1675 · 1 comment · 1 assignee ·
-
spacebarchat/server#1660 · 1 assignee ·
All issues in spacebarchat/server
Similar issues
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster no-stale P3
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficulty 1/5 Under an hour Newbie friendliness 76/100
-
code-quality refactoring
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
github/gh-aw-firewall#8816 ·
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
vercel/react-tweet#225 ·