enrollment type definition and permission in config #339
Labels
API
back end
Involves changes to the Express application or other server-related files
config change
Involves a change to the configuration file/format
front end
Involves changes to the React application or other client-related files
Problem
When the team discussed adding support for librarian and assistant enrollment types, which resulted in opening #333, I realized we have support and redundancy problems for all types. It should also be customizable for other environments.
Solution
Add enrollment types to the application configuration. It may be in the main configuration file or it may be a new file. The enrollment type configuration should contain enough information to define the possible types available and enough hierarchy to define what types may be assigned by a user of a given type.
This enrollment type configuration should be available to code running in the UI and the API. If there are difficulties to getting the configuration to the UI, a new API entry could be added that provides the configuration to the UI.
The code used to handle enrollment types should be available for use in the UI and the API to reduce redundancy and ease maintenance.
The text was updated successfully, but these errors were encountered: