openfun / fun-apps

:warning: DEPRECATED :warning:
Other
15 stars 20 forks source link

✨(mailing_list) create views to un.subscribe to course mail #731

Closed jbpenrath closed 1 year ago

jbpenrath commented 1 year ago

Purpose

The learner dashboard will be soon replaced. To un.subscribe to a course's mailing list, the user can do that only from the dashboard course list view. As this view will be hidden, we need to find a workaround. So the workaround is to create a public route to un .subscribe a user to a course's mailing list. In this way, we will be able to put a unsubcribe link into course's emails.

Proposal

Example

http://localhost:8072/courses/course-v1:FUN+Demo+course/mailing-list/subscribe/?u=admin@example.com

image

http://localhost:8072/courses/course-v1:FUN+Demo+course/mailing-list/unsubscribe/?u=admin@example.com

image