Is your feature request related to a problem? Please describe
When a user buys a course with time limited access, then after that time has ended, there is no way for them to re-enroll through the course page. The "Buy course" button stays hidden. This is because technically the student is still enrolled.
This is a flaw in the system for which at the moment the only solution is to manually unenroll all students with expired access.
Describe the solution you'd like
There could be two solutions. From my point of view best would be a slight re-design of the "Buy course" button, so that it also shows when the course is owned, and when access has expired.
Describe alternatives you've considered
The other solution would be an option to automatically end the enrollment for all students whose access has ended.