[cloud] Allow site-admin to add org members directly
Created by: kopancek
Description
Allow site-admin to add org members directly
Only allow this behavior if site-admin is already a member of the org
Testing
Unit tested heavily
Manually testing
New behavior
- Start sg locally in dotcom mode:
EXTSVC_CONFIG_ALLOW_EDITS=true sg start dotcom
- Create an org
- Create a second user
- Add the user to the org without an invite by clicking on
Add User
button in the org members page
Behavior on non-cloud
Same steps as above, because the behavior is the same.