weekly release 2.3dev
[moodle.git] / grade / report / outcomes / db / access.php
CommitLineData
e060e33d 1<?php
54690a08 2
e060e33d 3// This file is part of Moodle - http://moodle.org/
4//
5// Moodle is free software: you can redistribute it and/or modify
6// it under the terms of the GNU General Public License as published by
7// the Free Software Foundation, either version 3 of the License, or
8// (at your option) any later version.
9//
10// Moodle is distributed in the hope that it will be useful,
11// but WITHOUT ANY WARRANTY; without even the implied warranty of
12// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13// GNU General Public License for more details.
14//
15// You should have received a copy of the GNU General Public License
16// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
8ad36f4c 17
0ac940b3 18$capabilities = array(
54690a08 19
20 'gradereport/outcomes:view' => array(
21 'riskbitmask' => RISK_PERSONAL,
22 'captype' => 'read',
23 'contextlevel' => CONTEXT_COURSE,
31c93303 24 'archetypes' => array(
54690a08 25 'teacher' => CAP_ALLOW,
26 'editingteacher' => CAP_ALLOW,
4f0c2d00 27 'manager' => CAP_ALLOW
54690a08 28 )
f3db3cfc 29 )
30
54690a08 31);
32
6c3ef410 33