Skip to content

View/Create permissions not being applied #2165

@priethor

Description

@priethor
  • Your Rocket.Chat Experimental app version: 4.7.0.17188
  • Your Rocket.Chat server version: 3.3.0
  • Deviceyou're running with: Pocophone F1 with Android 10

Steps to reproduce:

  • Go to Admin/Permissions and remove the create-c, create-d, create-p, view-c and view-d permissions for a role such as livechat-agent
  • Edit a user by giving it only the livechat-agent role
  • Now if you login as this livechat-agent user:
    • In the web application, the icon for creating groups/channels/direct messages doesn't appear, and it can only see private rooms he belongs to (and livechats).
    • In the mobile applications (either in Rocket.Chat or Rocket.Chat Experimental), the permissions are not being applied and the user can still create rooms/channels/direct messages and talk to other users.

One question that comes to mind is, are the permissions not being controlled on the server side, just on the client side?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions