Skip to content

Commit

Permalink
All the PREVENTS from the legacy roles have been removed
Browse files Browse the repository at this point in the history
(and thus are treated as INHERIT by default).

See MDL-6907 for details.
  • Loading branch information
moodler committed Oct 11, 2006
1 parent 252b76e commit a0ba79d
Show file tree
Hide file tree
Showing 18 changed files with 20 additions and 401 deletions.
14 changes: 1 addition & 13 deletions blocks/rss_client/db/access.php
Expand Up @@ -38,8 +38,6 @@
'captype' => 'write',
'contextlevel' => CONTEXT_SYSTEM,
'legacy' => array(
'guest' => CAP_PREVENT,
'student' => CAP_PREVENT,
'teacher' => CAP_ALLOW,
'editingteacher' => CAP_ALLOW,
'coursecreator' => CAP_ALLOW,
Expand All @@ -52,9 +50,6 @@
'captype' => 'write',
'contextlevel' => CONTEXT_SYSTEM,
'legacy' => array(
'guest' => CAP_PREVENT,
'student' => CAP_PREVENT,
'teacher' => CAP_PREVENT,
'editingteacher' => CAP_ALLOW,
'coursecreator' => CAP_ALLOW,
'admin' => CAP_ALLOW
Expand All @@ -66,8 +61,6 @@
'captype' => 'write',
'contextlevel' => CONTEXT_SYSTEM,
'legacy' => array(
'guest' => CAP_PREVENT,
'student' => CAP_PREVENT,
'teacher' => CAP_ALLOW,
'editingteacher' => CAP_ALLOW,
'coursecreator' => CAP_ALLOW,
Expand All @@ -80,15 +73,10 @@
'captype' => 'write',
'contextlevel' => CONTEXT_SYSTEM,
'legacy' => array(
'guest' => CAP_PREVENT,
'student' => CAP_PREVENT,
'teacher' => CAP_PREVENT,
'editingteacher' => CAP_PREVENT,
'coursecreator' => CAP_PREVENT,
'admin' => CAP_ALLOW
)
)

);

?>
?>
5 changes: 0 additions & 5 deletions enrol/authorize/db/access.php
Expand Up @@ -6,11 +6,6 @@
'captype' => 'write',
'contextlevel' => CONTEXT_SYSTEM,
'legacy' => array(
'guest' => CAP_PROHIBIT,
'student' => CAP_PREVENT,
'teacher' => CAP_PREVENT,
'editingteacher' => CAP_PREVENT,
'coursecreator' => CAP_PREVENT,
'admin' => CAP_ALLOW
)
)
Expand Down

0 comments on commit a0ba79d

Please sign in to comment.