MSA-15-0044: Capability to view available badges is not respected

MSA-15-0044: Capability to view available badges is not respected

by Marina Glancy -
Number of replies: 0
Description: Logged in users who do not have capability 'View available badges without earning them' can still access the full list of badges
Issue summary: Capability moodle/badges:viewbadges is not respected
Severity/Risk: Minor
Versions affected: 2.9 to 2.9.2, 2.8 to 2.8.8, 2.7 to 2.7.10 and earlier unsupported versions
Versions fixed: 2.9.3, 2.8.9 and 2.7.11
Reported by: Marina Glancy
Issue no.: MDL-51684
CVE identifier: CVE-2015-5340
Changes (master): http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-51684