Problem/Motivation

When the user joined to the public course he(she) receive access denied response on course content.

Steps to reproduce

Create public course
Allow joining
Create some sections in the course
Log in as a normal user
Join to the course
Try to start the course

Proposed resolution

Revert access login in the 'social_course_node_access', use the "allowedIf" method instead of "forbiddenIf"

Command icon 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

tBKoT created an issue. See original summary.

tbkot’s picture

Status: Active » Needs review
StatusFileSize
new1.07 KB
rolki’s picture

Status: Needs review » Reviewed & tested by the community

  • tBKoT committed f54142e on issue/social_course-3260322-3260322-joined-users-do
    Issue #3260322 by tBKoT: Use revert logic to give access
    

  • ribel committed e3df4ea on issue/social_course-3260322-3260322-joined-users-do
    Issue #3260322: Joined users do not have access to the course content
    

  • ribel committed dc8e935 on 4.0.x
    Issue #3260322: Joined users do not have access to the course content
    

ribel’s picture

Version: 3.2.0 » 4.0.1
Status: Reviewed & tested by the community » Fixed

Merged and released in version 4.0.1

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.