MDL-39986 badges: Show badge navigation to users with awardbadge capability
authorYuliya Bozhko <yuliya.bozhko@totaralms.com>
Wed, 12 Jun 2013 04:07:49 +0000 (16:07 +1200)
committerDan Poltawski <dan@moodle.com>
Wed, 3 Jul 2013 05:13:55 +0000 (13:13 +0800)
commit19a9f2eada393ada862cbdb61a1bf8be25adbbe0
treede2451201332a32d09b9a0d61f2af0bf675b6314
parent4787014c56e3455dfb16c84eab91898268a75dca
MDL-39986 badges: Show badge navigation to users with awardbadge capability

Also fixes an arror when a user with this capability tries to award a badge,
but their role is not among the criteria set up for a badge
badges/award.php
badges/index.php
badges/renderer.php
lib/badgeslib.php