Skip to content

[3.1.0] error-invalid-room after room creation with LDAP logged admin #17296

@CodazziS

Description

@CodazziS

Description:

After creating a new private room, we can't open the room. We need to logout / login for join the room.

Steps to reproduce:

  1. With an admin LDAP account, create new private room.
  2. When room is created, the url change for open the room, and an error message invalid room appear.
  3. With a logout / login, we can join the room

Expected behavior:

The room must appear without error. Room creation work with a regular admin (non-ldap logged).

Actual behavior:

  • step 1:
    image
  • step 2:
    image

Server Setup Information:

  • Version of Rocket.Chat Server: 3.1.0
  • Operating System: Debian 9
  • Deployment Method: tar
  • Number of Running Instances: 1
  • DB Replicaset Oplog:
  • NodeJS Version: v12.16.2
  • MongoDB Version: 4.0.16

Client Setup Information

  • Desktop App or Browser Version: Browser
  • Operating System: Ubuntu

Additional context

Admin user is logged with LDAP

Relevant logs:

  • client console error:
details: {method: "canAccessRoom"}
error: "error-invalid-room"
errorType: "Meteor.Error"
isClientSafe: true
message: "Invalid room [error-invalid-room]"
reason: "Invalid room"```
- No error for server

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions