A vulnerability was found in Moodle 3.7 to 3.7.2, 3.6 to 3.6.6, 3.5 to 3.5.8 and earlier. When a cohort role assignment was removed, the associated capabilites were not being revoked (where applicable). Reference: http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-66257
Created moodle tracking bugs for this issue: Affects: epel-all [bug 1788404]