[web] Move hasPermissionForTab up from ThreadSettingsModal to ConnectedThreadSettingsModal
Summary:
Move hasPermissionForTab up from ThreadSettingsModal to ConnectedThreadSettingsModal.
As part of the work to refactor ThreadSettingsModal... specifically to turn it into a functional component.
Depends on D3769
Test Plan:
- Open ThreadSettingsModal for a few threads
- Ensure that the expected tabs are visible based on permission
Reviewers: def-au1t, palys-swm
Reviewed By: palys-swm
Subscribers: ashoat, Adrian, karol-bisztyga, benschac, yayabosh
Differential Revision: https://phabricator.ashoat.com/D3770