RocketChat / RocketChat/Rocket.Chat

An admin user is able to lock themselves out of the permissions page

Open
#10,494 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
46.1k
Forks
13.9k
Avg merge
3d 3h
Merged PRs (30d)
130

Description

I was attempting to remove the view privilege permission from all admins, and add it to myself as owner. As soon as I unchecked the permission for admin, I (and all other admins) were locked out of the page, so now no-one can set the permissions.

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.

Research direction

Start at the admin permissions page and reproduce the described sequence: remove the view privilege from admins while assigning it to yourself as owner. Trace the permission update flow and determine how to prevent the page from becoming inaccessible to every administrator; done means the change is safely applied and the page remains recoverable and usable.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
authorization
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.