-
New Feature
-
Resolution: Deferred
-
Minor
-
None
-
4.0
-
MOODLE_400_STABLE
This is an idea similar to enrol instances. The idea is to change how auth plugins work so that you can create an auth instance. Each instance would allow setting all of the authentication settings for the plugin.
A use case for this would be a site that needs to have users for two different LDAP servers connect to a site. Currently to support this we have to make a copy of the LDAP plugin and rename it to create a second plugin to accomplish this.
This could also be used for better multi-tenant support in Moodle Workplace without having to modify every community auth plugin to be tenant aware. The idea would be that an instance of an auth plugin could be associated with one or more tenants. This would allow an abstraction layer where WP could leverage a change in core so that community auth plugins are more likely to work out of the box.