issue: ENG-7793
We don't want users to be able to add users to community roots - invite links should be used instead.
Details
Details
[for non-community-root] Tested that for chats the "Add members" button still navigates to "Add members" modal.
[for community root] Tested that if invite link exists, "Add members" button navigates to "Invite link" modal.
[for community root] Tested that if invite link doesn't exist, but user has permissions to create one, "Add members" button navigates to "Manage invite links" modal.
[for community root] Tested that if invite link doesn't exist and the user doesn't have premissions to creat it, the button is disabled.
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
native/chat/settings/thread-settings.react.js | ||
---|---|---|
1316–1332 ↗ | (On Diff #40859) | I've seen a similar logic somewhere in the stack. Can we reuse it? |
native/invite-links/invite-links-navigator.react.js | ||
55–57 ↗ | (On Diff #40859) | |
61–63 ↗ | (On Diff #40859) |