eduNEXT / eox-tenant

Plugin for managing multiple tenants (organizations) within a single Open edX instance.
GNU Affero General Public License v3.0
7 stars 4 forks source link

feat: create edx organization when updating course_org_filter `DS-961` #209

Closed BryanttV closed 5 months ago

BryanttV commented 5 months ago

Description

This PR adds the creation (if it does not exist) of an edX organization each time the course_org_filter property is updated in the LMS Configs of each Tenant Config.

Testing instructions

  1. Install the plugin with these changes (If you are installing it for the first time you should run the migrations).
  2. Create a new Tenant Config from {lms-domain}/admin/eox_tenant/tenantconfig/
  3. In the lms config field add the course_org_filter property and save:

    {
       "course_org_filter": [
          "edunext",
          "edX",
          ...
       ]
    }
  4. Go to {lms-domain}/admin/organizations/organization/, you should see the new organizations.

Additional information

https://github.com/eduNEXT/eox-tenant/issues/165

Checklist for Merge