Disallow role to sent, receive direct messages
Your Rocket.Chat version: 0.48.1
I've set up a role that only has access to 'view-joined-room'. If I remember correctly, users with this role did not have access to even see direct messages unless they had another permissions 'view-d-room' enabled. However, with 0.48.1 this doesn't seem to be the case. My users are able to see the direct message section even if they cannot initiate a conversation.

Confirmed
@akachapati can you please try again with 0.49.4?
I am in 0.51 now and the issue still exists
@akachapati The view-joined-room allows a user to see direct messages, since they can still receive direct messages. But I think users with this permissions should not be able to see the more channels... button
Closing this since #7643 changed this part of the ui. Please reopen this if the problem persists. Thanks!