Skip to content

[4.0.0] -> losing admin role while logging in #23327

@TimmiORG

Description

@TimmiORG

Description:

[4.0.0] -> losing admin role while logging in

Steps to reproduce:

  1. Give nomal user in addition the admin role through "make Admin" on selected user
  2. User receives admin role in user list
  3. logout / login user with the new admin role
  4. admin role removed from user

Expected behavior:

The admin role should stay with the user until removal.

Actual behavior:

Admin role removed after login on the user.

Server Setup Information:

  • Version of Rocket.Chat Server: 4.0.0 rc4
  • Operating System: Rocky Linux 8
  • Deployment Method: tar
  • Number of Running Instances: 3
  • DB Replicaset Oplog: yes
  • NodeJS Version: 12.20.1
  • MongoDB Version: 4.2.17

Client Setup Information

  • Desktop App or Browser Version: App: 3.5.6
  • Operating System: Fedora 34

User accounts are LDAP based.

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