Problem/Motivation
We had a similar problem before (https://www.drupal.org/project/social_course/issues/3260322), and after the changes that were made in that issue, we got another problem - any users on the platform had access to the course sections, accordingly, it was decided to roll back these changes.
So after rolling back the old changes, the old problem is back and course members are unable to access the course sections.
Steps to reproduce
- Join the course
- Click on section
- Get an access denied
Proposed resolution
Change the check logic, i.e. check not by permission (since course sections do not have visibility, such as a topic or event), but by group membership.
Remaining tasks
None.
User interface changes
None.
API changes
None.
Data model changes
None.
Issue fork social_course-3310620
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
navneet0693 commentedComment #7
ribelMerged and released in versions 4.0.4 and 4.1.2
Comment #8
rolki commented