gocodebox / gocodebox/lifterlms

Disenrolled courses still appear in "my-courses" page

Open
#1,435 3 comments 0 reactions 0 assignees View on GitHub
good first issue hacktoberfest help wanted Severity: Low Type: Enhancement
Dominant language
PHP
Stars
212
Forks
140
Avg merge
2d 14h
Merged PRs (30d)
19

Description

### Reproduction Steps

+ Login as a student
+ Enroll in any course
+ As an admin disenroll that student from the course
+ Back to student and open "my-courses" page, and will see the disenrolled course there

### Expected Behavior

+ Should disappear because it's not belong to that student anymore

### Actual Behavior

+ Disenrolled courses still appear

### Note
If i open the course page i will see the Enroll button, So that course from my-courses is really not mine

and actually it's more obvious in my case, because i made a plugin that provide the Disenroll functionality for the students (i would like to share it with you if you want ), so it's not expected for student to disenroll from a course and he find it in "my-courses" page

### Error Messages / Logs

+ Include any relevant error messages or log files
```

```

### System and Environment Information

System Report

```

```

This issue has be recreated:
+ [ ] Locally
+ [ ] On a staging site
+ [ ] On a production website
+ [x] With only LifterLMS and a default theme

### Browser, Device, and Operating System Information

+ Browser name and version
+ Operating System name and version
+ Device name and version (if applicable)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.