Skip to content

[cloud] Allow site-admin to add org members directly

Administrator requested to merge fix-site-admin-add-org-members into main

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

  1. Start sg locally in dotcom mode: EXTSVC_CONFIG_ALLOW_EDITS=true sg start dotcom
  2. Create an org
  3. Create a second user
  4. 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.

Merge request reports

Loading