Index: alfresco/db/access.php ========================================================= --- alfresco/db/access.php (revision 1.5) +++ alfresco/db/access.php Tue Jul 27 17:39:04 WST 2010 @@ -4,13 +4,9 @@ 'repository/alfresco:view' => array( 'captype' => 'read', - 'contextlevel' => CONTEXT_SYSTEM, + 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array( - 'user' => CAP_ALLOW, - 'student' => CAP_ALLOW, - 'teacher' => CAP_ALLOW, - 'editingteacher' => CAP_ALLOW, - 'manager' => CAP_ALLOW + 'user' => CAP_ALLOW ) ) ); Index: boxnet/db/access.php ========================================================= --- boxnet/db/access.php (revision 1.5) +++ boxnet/db/access.php Tue Jul 27 17:39:12 WST 2010 @@ -4,13 +4,9 @@ 'repository/boxnet:view' => array( 'captype' => 'read', - 'contextlevel' => CONTEXT_SYSTEM, + 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array( - 'user' => CAP_ALLOW, - 'student' => CAP_ALLOW, - 'teacher' => CAP_ALLOW, - 'editingteacher' => CAP_ALLOW, - 'manager' => CAP_ALLOW + 'user' => CAP_ALLOW ) ) ); Index: dropbox/db/access.php ========================================================= --- dropbox/db/access.php (revision 1.2) +++ dropbox/db/access.php Tue Jul 27 17:39:19 WST 2010 @@ -19,13 +19,9 @@ 'repository/dropbox:view' => array( 'captype' => 'read', - 'contextlevel' => CONTEXT_SYSTEM, + 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array( - 'user' => CAP_ALLOW, - 'student' => CAP_ALLOW, - 'teacher' => CAP_ALLOW, - 'editingteacher' => CAP_ALLOW, - 'manager' => CAP_ALLOW + 'user' => CAP_ALLOW ) ) ); Index: filesystem/db/access.php ========================================================= --- filesystem/db/access.php (revision 1.5) +++ filesystem/db/access.php Tue Jul 27 17:39:26 WST 2010 @@ -4,13 +4,9 @@ 'repository/filesystem:view' => array( 'captype' => 'read', - 'contextlevel' => CONTEXT_SYSTEM, + 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array( - 'user' => CAP_ALLOW, - 'student' => CAP_ALLOW, - 'teacher' => CAP_ALLOW, - 'editingteacher' => CAP_ALLOW, - 'manager' => CAP_ALLOW + 'user' => CAP_ALLOW ) ) ); Index: flickr/db/access.php ========================================================= --- flickr/db/access.php (revision 1.5) +++ flickr/db/access.php Tue Jul 27 17:39:31 WST 2010 @@ -4,13 +4,9 @@ 'repository/flickr:view' => array( 'captype' => 'read', - 'contextlevel' => CONTEXT_SYSTEM, + 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array( - 'user' => CAP_ALLOW, - 'student' => CAP_ALLOW, - 'teacher' => CAP_ALLOW, - 'editingteacher' => CAP_ALLOW, - 'manager' => CAP_ALLOW + 'user' => CAP_ALLOW ) ) ); Index: flickr_public/db/access.php ========================================================= --- flickr_public/db/access.php (revision 1.6) +++ flickr_public/db/access.php Tue Jul 27 17:39:36 WST 2010 @@ -4,13 +4,9 @@ 'repository/flickr_public:view' => array( 'captype' => 'read', - 'contextlevel' => CONTEXT_SYSTEM, + 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array( - 'user' => CAP_ALLOW, - 'student' => CAP_ALLOW, - 'teacher' => CAP_ALLOW, - 'editingteacher' => CAP_ALLOW, - 'manager' => CAP_ALLOW + 'user' => CAP_ALLOW ) ) ); Index: googledocs/db/access.php ========================================================= --- googledocs/db/access.php (revision 1.5) +++ googledocs/db/access.php Tue Jul 27 17:42:28 WST 2010 @@ -4,13 +4,9 @@ 'repository/googledocs:view' => array( 'captype' => 'read', - 'contextlevel' => CONTEXT_SYSTEM, + 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array( - 'user' => CAP_ALLOW, - 'student' => CAP_ALLOW, - 'teacher' => CAP_ALLOW, - 'editingteacher' => CAP_ALLOW, - 'manager' => CAP_ALLOW + 'user' => CAP_ALLOW ) ) ); Index: local/db/access.php ========================================================= --- local/db/access.php (revision 1.5) +++ local/db/access.php Tue Jul 27 17:39:48 WST 2010 @@ -4,13 +4,9 @@ 'repository/local:view' => array( 'captype' => 'read', - 'contextlevel' => CONTEXT_SYSTEM, + 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array( - 'user' => CAP_ALLOW, - 'student' => CAP_ALLOW, - 'teacher' => CAP_ALLOW, - 'editingteacher' => CAP_ALLOW, - 'manager' => CAP_ALLOW + 'user' => CAP_ALLOW ) ) ); Index: merlot/db/access.php ========================================================= --- merlot/db/access.php (revision 1.4) +++ merlot/db/access.php Tue Jul 27 17:39:53 WST 2010 @@ -4,13 +4,9 @@ 'repository/merlot:view' => array( 'captype' => 'read', - 'contextlevel' => CONTEXT_SYSTEM, + 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array( - 'user' => CAP_ALLOW, - 'student' => CAP_ALLOW, - 'teacher' => CAP_ALLOW, - 'editingteacher' => CAP_ALLOW, - 'manager' => CAP_ALLOW + 'user' => CAP_ALLOW ) ) ); Index: picasa/db/access.php ========================================================= --- picasa/db/access.php (revision 1.5) +++ picasa/db/access.php Tue Jul 27 17:39:58 WST 2010 @@ -4,13 +4,9 @@ 'repository/picasa:view' => array( 'captype' => 'read', - 'contextlevel' => CONTEXT_SYSTEM, + 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array( - 'user' => CAP_ALLOW, - 'student' => CAP_ALLOW, - 'teacher' => CAP_ALLOW, - 'editingteacher' => CAP_ALLOW, - 'manager' => CAP_ALLOW + 'user' => CAP_ALLOW ) ) ); Index: recent/db/access.php ========================================================= --- recent/db/access.php (revision 1.3) +++ recent/db/access.php Tue Jul 27 17:40:04 WST 2010 @@ -19,13 +19,9 @@ 'repository/recent:view' => array( 'captype' => 'read', - 'contextlevel' => CONTEXT_SYSTEM, + 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array( - 'user' => CAP_ALLOW, - 'student' => CAP_ALLOW, - 'teacher' => CAP_ALLOW, - 'editingteacher' => CAP_ALLOW, - 'manager' => CAP_ALLOW + 'user' => CAP_ALLOW ) ) ); Index: s3/db/access.php ========================================================= --- s3/db/access.php (revision 1.5) +++ s3/db/access.php Tue Jul 27 17:40:09 WST 2010 @@ -4,13 +4,9 @@ 'repository/s3:view' => array( 'captype' => 'read', - 'contextlevel' => CONTEXT_SYSTEM, + 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array( - 'user' => CAP_ALLOW, - 'student' => CAP_ALLOW, - 'teacher' => CAP_ALLOW, - 'editingteacher' => CAP_ALLOW, - 'manager' => CAP_ALLOW + 'user' => CAP_ALLOW ) ) ); Index: upload/db/access.php ========================================================= --- upload/db/access.php (revision 1.5) +++ upload/db/access.php Tue Jul 27 17:40:15 WST 2010 @@ -4,13 +4,9 @@ 'repository/upload:view' => array( 'captype' => 'read', - 'contextlevel' => CONTEXT_SYSTEM, + 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array( - 'user' => CAP_ALLOW, - 'student' => CAP_ALLOW, - 'teacher' => CAP_ALLOW, - 'editingteacher' => CAP_ALLOW, - 'manager' => CAP_ALLOW + 'user' => CAP_ALLOW ) ) ); Index: url/db/access.php ========================================================= --- url/db/access.php (revision 1.5) +++ url/db/access.php Tue Jul 27 17:40:20 WST 2010 @@ -4,13 +4,9 @@ 'repository/url:view' => array( 'captype' => 'read', - 'contextlevel' => CONTEXT_SYSTEM, + 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array( - 'user' => CAP_ALLOW, - 'student' => CAP_ALLOW, - 'teacher' => CAP_ALLOW, - 'editingteacher' => CAP_ALLOW, - 'manager' => CAP_ALLOW + 'user' => CAP_ALLOW ) ) ); Index: user/db/access.php ========================================================= --- user/db/access.php (revision 1.1) +++ user/db/access.php Tue Jul 27 17:40:25 WST 2010 @@ -19,13 +19,9 @@ 'repository/user:view' => array( 'captype' => 'read', - 'contextlevel' => CONTEXT_SYSTEM, + 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array( - 'user' => CAP_ALLOW, - 'student' => CAP_ALLOW, - 'teacher' => CAP_ALLOW, - 'editingteacher' => CAP_ALLOW, - 'manager' => CAP_ALLOW + 'user' => CAP_ALLOW ) ) ); Index: webdav/db/access.php ========================================================= --- webdav/db/access.php (revision 1.5) +++ webdav/db/access.php Tue Jul 27 17:40:31 WST 2010 @@ -4,13 +4,9 @@ 'repository/webdav:view' => array( 'captype' => 'read', - 'contextlevel' => CONTEXT_SYSTEM, + 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array( - 'user' => CAP_ALLOW, - 'student' => CAP_ALLOW, - 'teacher' => CAP_ALLOW, - 'editingteacher' => CAP_ALLOW, - 'manager' => CAP_ALLOW + 'user' => CAP_ALLOW ) ) ); Index: wikimedia/db/access.php ========================================================= --- wikimedia/db/access.php (revision 1.5) +++ wikimedia/db/access.php Tue Jul 27 17:40:35 WST 2010 @@ -4,13 +4,9 @@ 'repository/wikimedia:view' => array( 'captype' => 'read', - 'contextlevel' => CONTEXT_SYSTEM, + 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array( - 'user' => CAP_ALLOW, - 'student' => CAP_ALLOW, - 'teacher' => CAP_ALLOW, - 'editingteacher' => CAP_ALLOW, - 'manager' => CAP_ALLOW + 'user' => CAP_ALLOW ) ) ); Index: youtube/db/access.php ========================================================= --- youtube/db/access.php (revision 1.5) +++ youtube/db/access.php Tue Jul 27 17:40:42 WST 2010 @@ -4,13 +4,9 @@ 'repository/youtube:view' => array( 'captype' => 'read', - 'contextlevel' => CONTEXT_SYSTEM, + 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array( - 'user' => CAP_ALLOW, - 'student' => CAP_ALLOW, - 'teacher' => CAP_ALLOW, - 'editingteacher' => CAP_ALLOW, - 'manager' => CAP_ALLOW + 'user' => CAP_ALLOW ) ) );