-
Notifications
You must be signed in to change notification settings - Fork 1
Chore: Absorb adapt-authoring-usergroups into users module #43
Copy link
Copy link
Open
Description
Chore
- Merge the
adapt-authoring-usergroupsmodule intoadapt-authoring-users
Rationale
As part of an ongoing effort to reduce the number of standalone modules (see adapt-security/adapt-authoring-core#112 for prior art), adapt-authoring-usergroups is a strong candidate for absorption.
The module is a single 58-line file (UserGroupsModule.js) that provides a minimal API wrapper for grouping users. User groups are inseparable from user management — they have no standalone purpose and adapt-authoring-usergroups already lists adapt-authoring-users as a peer dependency.
Approach
Following the pattern established in adapt-security/adapt-authoring-core#112:
- Move
UserGroupsModulelogic into the users module as an internal library class (not anAbstractModulesubclass) - Merge
errors.jsondefinitions into the users error definitions - Merge config schemas into the users config schema
- Merge documentation and doc plugins (jsdoc-style annotations) into users
- Move relevant data schemas into users
- Deprecate the standalone
adapt-authoring-usergroupspackage
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels