apluslms / a-plus

A+ frontend portal - A+ LMS documentation:
https://apluslms.github.io/
Other
64 stars 72 forks source link

Add courses where user is teacher to api #1344

Closed mikaelGusse closed 4 months ago

mikaelGusse commented 4 months ago

Description

What?

Added a datapoint to the detailed user data in the A+ api. Allows the admin to see which courses the user is a teacher in.

Why?

Change needed to create automatic A+ mailing list.

How?

Added data to api which fetches the courses where the user is staff.

Testing

Remember to add or update unit tests for new features and changes.

What type of test did you run?

Tested to see that the data shows up in the api.

Did you test the changes in

Think of what is affected by these changes and could become broken

Translation

Programming style

Have you updated the README or other relevant documentation?

Is it Done?

Clean up your git commit history before submitting the pull request!