FYI using these versions …
– WordPress 5.9-alpha-51853
– Groups 2.14.1
– LP 4.1.3.1
“Course A” protected by a “Premium” group.
“Course B” not protected by any group.
Visiting the All Courses page with a user who is not a member of the “Premium” group shows me “Course B” only => correct.
Visiting the All Courses page with a user who is a member of the “Premium” group shows also only “Course B” => incorrect.
Given that there is a workaround as outlined by https://www.ads-software.com/support/topic/restriction-on-groups-has-ceased-to-work/#post-14897165 and this seems to be a particular issue that only occurs with LearnPress courses and its lazy loading system, it might be a fault within its internal cache, I don’t see where Groups would be causing the issue. Maybe you’d want to reach out to the LearnPress developers to see if they want to investigate it further.
With the workaround available we’ll mark this as resolved, feel free to follow up if there is anything else you’d like to add.