HomePhabricator
Diffusion Comm 926354654e01

Added getRolePermissions for private threads

Description

Added getRolePermissions for private threads

Summary: Added private thread permissions to the getRolePermissionBlobsForChat function. Creating an account will now make the private thread have more limited permissions.

Test Plan: I created a new account and went into the tread settings, I could see that it was missing the fields that we wanted omitted such as adding members, leaving the chat thread. I tested to make sure new accounts can still send messages to private chats, normal chats, and groupchats (including leaving groupchats). And I also tested this on older accounts to make sure it did not break anything.

Reviewers: ashoat, palys-swm

Reviewed By: ashoat

Subscribers: KatPo, zrebcu411, Adrian, atul

Differential Revision: https://phabricator.ashoat.com/D642

Details

Provenance
subnubAuthored on Jan 21 2021, 8:28 AM
Reviewer
ashoat
Differential Revision
Restricted Differential Revision
Parents
rCOMM7050035874fd: Make thread-visiblity icon use thread-icon
Branches
Unknown
Tags
Unknown

Event Timeline

Kyle Hoell <kylehoell@Kyles-Mac-mini.local> added an edge: Restricted Differential Revision.