Supporting multi-tenancy via categories
Figure 20.3 – Multi-tenancy via categories
You can assign a dedicated theme for each category, as we saw in Chapter 7, Enhancing Moodle’s Look and Feel. However, users won’t see that branding until they have logged in. A new category admin role should be created and the appropriate permissions granted accordingly – for instance, the ability to add subcategories and courses.
One main drawback of the category-based approach is that plugins can only be configured site-wide and not at the tenant (that is, category) level. You can bypass this limitation by using...