HomePhabricator
Diffusion Comm a2f69cb3a7aa

[web] Check edit thread permission in thread settings

Description

[web] Check edit thread permission in thread settings

Summary: In blocked threads or private threads some thread settings might be disabled, and this causes errors. This diff adds permision check and disables input when there is no permission

Test Plan: Open private thread settings and notice error when trying to edit them. Add permission check and notice disabled inputs. Do the same with blocked thread, and verify that the behaviour is the same as in native

Reviewers: palys-swm, ashoat

Reviewed By: palys-swm, ashoat

Subscribers: ashoat, zrebcu411, Adrian, atul, subnub

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

Details

Provenance
KatPoAuthored on Mar 12 2021, 5:32 AM
Reviewer
tomek
Differential Revision
Restricted Differential Revision
Parents
rCOMMe042b28a1db9: [native] Include messages from store in pending sidebar
Branches
Unknown
Tags
Unknown