Changing user permissions invalidates password
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- typescript
- Domain
- authentication, authorization
Research direction
Reproduce the issue using two browser sessions and the Rocket.Chat 3.5.0 setup described: change a test user's permissions from admin to guest, then try to log in again. Trace the authentication and permission-change handling to determine why the account is treated as missing or has an incorrect password. Done means the user can log in after the permission change and the reported error no longer occurs.
Written by the indexing model from the issue text.
Description
Description:
After changing user permissions on a user it's no longer possible to login with this account.
Steps to reproduce:
- Create 'test' user with 'admin' permissions
- Login with 'test' user in another browser
- Change permissions of 'test' user from 'admin' to 'guest' with original admin account
-> 'test' user in second browser gets logged out - Try to login again with 'test' user
Expected behavior:
You log in with the test user
Actual behavior:
"User not found or incorrect password" error message
Server Setup Information:
- Version of Rocket.Chat Server: 3.5.0
- Operating System: linux
- Deployment Method: docker
- Number of Running Instances: 1
Client Setup Information
- Desktop App or Browser Version: Chrome 84
- Operating System: Arch Linux
- Dominant language
- TypeScript
- Stars
- 46.1k
- Forks
- 13.9k
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 130
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 RocketChat/Rocket.Chat
-
type: bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
RocketChat/Rocket.Chat#42256 ·
-
type: bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
RocketChat/Rocket.Chat#42248 ·
-
todo type: bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
RocketChat/Rocket.Chat#42241 ·
-
todo type: bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
RocketChat/Rocket.Chat#42237 ·
-
type: feature
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
RocketChat/Rocket.Chat#42228 · 1 comment ·
All issues in RocketChat/Rocket.Chat
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 ·