Browse Source

Added manager archetype in access.php

MOODLE_23_STABLE
Artem Andreev 14 years ago
parent
commit
eafc0421e1
  1. 21
      db/access.php

21
db/access.php

@ -40,7 +40,8 @@ $capabilities = array(
'archetypes' => array(
'student' => CAP_ALLOW,
'teacher' => CAP_ALLOW,
'editingteacher' => CAP_ALLOW
'editingteacher' => CAP_ALLOW,
'manager' => CAP_ALLOW
)
),
@ -52,7 +53,8 @@ $capabilities = array(
'contextlevel' => CONTEXT_MODULE,
'archetypes' => array(
'teacher' => CAP_ALLOW,
'editingteacher' => CAP_ALLOW
'editingteacher' => CAP_ALLOW,
'manager' => CAP_ALLOW
)
),
@ -64,7 +66,8 @@ $capabilities = array(
'contextlevel' => CONTEXT_MODULE,
'archetypes' => array(
'teacher' => CAP_ALLOW,
'editingteacher' => CAP_ALLOW
'editingteacher' => CAP_ALLOW,
'manager' => CAP_ALLOW
)
),
@ -76,7 +79,8 @@ $capabilities = array(
'contextlevel' => CONTEXT_MODULE,
'archetypes' => array(
'teacher' => CAP_ALLOW,
'editingteacher' => CAP_ALLOW
'editingteacher' => CAP_ALLOW,
'manager' => CAP_ALLOW
)
),
@ -87,7 +91,8 @@ $capabilities = array(
'captype' => 'write',
'contextlevel' => CONTEXT_MODULE,
'archetypes' => array(
'editingteacher' => CAP_ALLOW
'editingteacher' => CAP_ALLOW,
'manager' => CAP_ALLOW
)
),
@ -98,7 +103,8 @@ $capabilities = array(
'captype' => 'write',
'contextlevel' => CONTEXT_MODULE,
'archetypes' => array(
'editingteacher' => CAP_ALLOW
'editingteacher' => CAP_ALLOW,
'manager' => CAP_ALLOW
)
),
@ -109,7 +115,8 @@ $capabilities = array(
'captype' => 'read',
'contextlevel' => CONTEXT_MODULE,
'archetypes' => array(
'editingteacher' => CAP_ALLOW
'editingteacher' => CAP_ALLOW,
'manager' => CAP_ALLOW
)
),

Loading…
Cancel
Save