Merge branch 'w13_MDL-26991_21_legacy' of git://github.com/skodak/moodle

This commit is contained in:
Eloy Lafuente (stronk7) 2011-03-28 19:25:03 +02:00
commit 18318237d7
9 changed files with 23 additions and 23 deletions

View File

@ -5,7 +5,7 @@ $capabilities = array(
'enrol/authorize:config' => array(
'captype' => 'write',
'contextlevel' => CONTEXT_COURSE,
'legacy' => array(
'archetypes' => array(
'manager' => CAP_ALLOW,
)
),
@ -13,7 +13,7 @@ $capabilities = array(
'enrol/authorize:manage' => array(
'captype' => 'write',
'contextlevel' => CONTEXT_COURSE,
'legacy' => array(
'archetypes' => array(
'manager' => CAP_ALLOW,
'editingteacher' => CAP_ALLOW,
)
@ -22,7 +22,7 @@ $capabilities = array(
'enrol/authorize:unenrol' => array(
'captype' => 'write',
'contextlevel' => CONTEXT_COURSE,
'legacy' => array(
'archetypes' => array(
'manager' => CAP_ALLOW,
)
),
@ -30,7 +30,7 @@ $capabilities = array(
'enrol/authorize:unenrolself' => array(
'captype' => 'write',
'contextlevel' => CONTEXT_COURSE,
'legacy' => array(
'archetypes' => array(
)
),

View File

@ -33,7 +33,7 @@ $capabilities = array(
'enrol/category:synchronised' => array(
'captype' => 'write',
'contextlevel' => CONTEXT_SYSTEM,
'legacy' => array(
'archetypes' => array(
)
),
);

View File

@ -32,7 +32,7 @@ $capabilities = array(
'captype' => 'write',
'contextlevel' => CONTEXT_COURSE,
'legacy' => array(
'archetypes' => array(
'editingteacher' => CAP_ALLOW,
'manager' => CAP_ALLOW,
)

View File

@ -31,7 +31,7 @@ $capabilities = array(
'enrol/guest:config' => array(
'captype' => 'write',
'contextlevel' => CONTEXT_COURSE,
'legacy' => array(
'archetypes' => array(
'manager' => CAP_ALLOW,
'editingteacher' => CAP_ALLOW,
)

View File

@ -31,7 +31,7 @@ $capabilities = array(
'enrol/ldap:manage' => array(
'captype' => 'write',
'contextlevel' => CONTEXT_COURSE,
'legacy' => array(
'archetypes' => array(
'manager' => CAP_ALLOW,
)
),

View File

@ -31,7 +31,7 @@ $capabilities = array(
'enrol/manual:config' => array(
'captype' => 'write',
'contextlevel' => CONTEXT_COURSE,
'legacy' => array(
'archetypes' => array(
'manager' => CAP_ALLOW,
)
),
@ -39,7 +39,7 @@ $capabilities = array(
'enrol/manual:enrol' => array(
'captype' => 'write',
'contextlevel' => CONTEXT_COURSE,
'legacy' => array(
'archetypes' => array(
'manager' => CAP_ALLOW,
'editingteacher' => CAP_ALLOW,
)
@ -48,7 +48,7 @@ $capabilities = array(
'enrol/manual:manage' => array(
'captype' => 'write',
'contextlevel' => CONTEXT_COURSE,
'legacy' => array(
'archetypes' => array(
'manager' => CAP_ALLOW,
'editingteacher' => CAP_ALLOW,
)
@ -57,7 +57,7 @@ $capabilities = array(
'enrol/manual:unenrol' => array(
'captype' => 'write',
'contextlevel' => CONTEXT_COURSE,
'legacy' => array(
'archetypes' => array(
'manager' => CAP_ALLOW,
'editingteacher' => CAP_ALLOW,
)
@ -66,7 +66,7 @@ $capabilities = array(
'enrol/manual:unenrolself' => array(
'captype' => 'write',
'contextlevel' => CONTEXT_COURSE,
'legacy' => array(
'archetypes' => array(
)
),

View File

@ -30,7 +30,7 @@ $capabilities = array(
'enrol/meta:config' => array(
'captype' => 'write',
'contextlevel' => CONTEXT_COURSE,
'legacy' => array(
'archetypes' => array(
'manager' => CAP_ALLOW,
'editingteacher' => CAP_ALLOW,
)
@ -40,7 +40,7 @@ $capabilities = array(
'enrol/meta:selectaslinked' => array(
'captype' => 'read',
'contextlevel' => CONTEXT_COURSE,
'legacy' => array(
'archetypes' => array(
'manager' => CAP_ALLOW,
)
),

View File

@ -31,7 +31,7 @@ $capabilities = array(
'enrol/paypal:config' => array(
'captype' => 'write',
'contextlevel' => CONTEXT_COURSE,
'legacy' => array(
'archetypes' => array(
'manager' => CAP_ALLOW,
)
),
@ -39,7 +39,7 @@ $capabilities = array(
'enrol/paypal:manage' => array(
'captype' => 'write',
'contextlevel' => CONTEXT_COURSE,
'legacy' => array(
'archetypes' => array(
'manager' => CAP_ALLOW,
'editingteacher' => CAP_ALLOW,
)
@ -48,7 +48,7 @@ $capabilities = array(
'enrol/paypal:unenrol' => array(
'captype' => 'write',
'contextlevel' => CONTEXT_COURSE,
'legacy' => array(
'archetypes' => array(
'manager' => CAP_ALLOW,
)
),
@ -56,7 +56,7 @@ $capabilities = array(
'enrol/paypal:unenrolself' => array(
'captype' => 'write',
'contextlevel' => CONTEXT_COURSE,
'legacy' => array(
'archetypes' => array(
)
),

View File

@ -32,7 +32,7 @@ $capabilities = array(
'captype' => 'write',
'contextlevel' => CONTEXT_COURSE,
'legacy' => array(
'archetypes' => array(
'editingteacher' => CAP_ALLOW,
'manager' => CAP_ALLOW,
)
@ -42,7 +42,7 @@ $capabilities = array(
'captype' => 'write',
'contextlevel' => CONTEXT_COURSE,
'legacy' => array(
'archetypes' => array(
'editingteacher' => CAP_ALLOW,
'manager' => CAP_ALLOW,
)
@ -51,7 +51,7 @@ $capabilities = array(
'enrol/self:unenrolself' => array(
'captype' => 'write',
'contextlevel' => CONTEXT_COURSE,
'legacy' => array(
'archetypes' => array(
'student' => CAP_ALLOW,
)
),
@ -59,7 +59,7 @@ $capabilities = array(
'enrol/self:unenrol' => array(
'captype' => 'write',
'contextlevel' => CONTEXT_COURSE,
'legacy' => array(
'archetypes' => array(
'editingteacher' => CAP_ALLOW,
'manager' => CAP_ALLOW,
)