RocketChat / RocketChat/Rocket.Chat

When "View Outside Room" permission had change to false, the auto complete mention was not displayed on mobile (working on desktop)

Open
#20,260 1 comment 0 reactions 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

Description:

Mention autocomplete which allows the user to see a list of users in the current channel after typing @... does not pop up the users list on mobile devices, it works fine for the same user on desktop app / native web browser. (When "View Outside Room" permission is False.)

Steps to reproduce:
  1. Verify your user which does not have "View Outside Room" permission.
  2. Join a channel
  3. Try to mention other users by typing @ + first letter
Expected behavior:

Will display the autocomplete list for both desktop and mobile.

Actual behavior:

Desktop are working fine:
Screenshot 2021-01-19 at 10 28 38

Mobile are not :
Screenshot 2021-01-19 at 10 29 21

Server Setup Information:
  • Version of Rocket.Chat Server: 3.10.0-develop
  • Operating System: Ubuntu 16.04
  • Deployment Method: tar
  • Number of Running Instances: 1
  • DB Replicaset Oplog: 0
  • NodeJS Version: v12.20.1
  • MongoDB Version: 4.2.8
Client Setup Information
  • Desktop App or Browser Version: 3.0.3
  • Operating System: Window 10 pro , Android , IOS

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

Reproduce the issue on Android or iOS with a user who lacks “View Outside Room” permission, then trace the mobile mention autocomplete behavior and its permission-filtered user lookup. Done means typing @ followed by a letter displays the autocomplete list on mobile as it does on desktop.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.