Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/enrol/authorize/db/access.php
Go to the documentation of this file.
00001 <?php
00002 
00003 $capabilities = array(
00004 
00005     'enrol/authorize:config' => array(
00006         'captype' => 'write',
00007         'contextlevel' => CONTEXT_COURSE,
00008         'archetypes' => array(
00009             'manager' => CAP_ALLOW,
00010         )
00011     ),
00012 
00013     'enrol/authorize:manage' => array(
00014         'captype' => 'write',
00015         'contextlevel' => CONTEXT_COURSE,
00016         'archetypes' => array(
00017             'manager' => CAP_ALLOW,
00018             'editingteacher' => CAP_ALLOW,
00019         )
00020     ),
00021 
00022     'enrol/authorize:unenrol' => array(
00023         'captype' => 'write',
00024         'contextlevel' => CONTEXT_COURSE,
00025         'archetypes' => array(
00026             'manager' => CAP_ALLOW,
00027         )
00028     ),
00029 
00030     'enrol/authorize:unenrolself' => array(
00031         'captype' => 'write',
00032         'contextlevel' => CONTEXT_COURSE,
00033         'archetypes' => array(
00034         )
00035     ),
00036 
00037 
00038     'enrol/authorize:managepayments' => array(
00039         'riskbitmask' => RISK_PERSONAL,
00040         'captype' => 'write',
00041         'contextlevel' => CONTEXT_SYSTEM,
00042         'archetypes' => array(
00043             'manager' => CAP_ALLOW
00044         )
00045     ),
00046 
00047     'enrol/authorize:uploadcsv' => array(
00048         'riskbitmask' => RISK_XSS,
00049         'captype' => 'write',
00050         'contextlevel' => CONTEXT_SYSTEM,
00051         'archetypes' => array(
00052             'manager' => CAP_ALLOW
00053         )
00054     )
00055 
00056 );
00057 
00058 
 All Data Structures Namespaces Files Functions Variables Enumerations