Skip to content

Commit

Permalink
MDL-30452 Repositories: Changed default capability on repos - Thanks …
Browse files Browse the repository at this point in the history
…Michael
  • Loading branch information
Rajesh Taneja authored and stronk7 committed Jan 10, 2012
1 parent 7dd813b commit 246c2cb
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 8 deletions.
5 changes: 4 additions & 1 deletion repository/coursefiles/db/access.php
Expand Up @@ -6,7 +6,10 @@
'captype' => 'read',
'contextlevel' => CONTEXT_MODULE,
'archetypes' => array(
'user' => CAP_ALLOW
'coursecreator' => CAP_ALLOW,
'teacher' => CAP_ALLOW,
'editingteacher' => CAP_ALLOW,
'manager' => CAP_ALLOW
)
)
);
2 changes: 1 addition & 1 deletion repository/coursefiles/version.php
Expand Up @@ -26,6 +26,6 @@

defined('MOODLE_INTERNAL') || die();

$plugin->version = 2011112900; // The current plugin version (Date: YYYYMMDDXX)
$plugin->version = 2012010100; // The current plugin version (Date: YYYYMMDDXX)
$plugin->requires = 2011112900; // Requires this Moodle version
$plugin->component = 'repository_coursefiles'; // Full name of the plugin (used for diagnostics)
5 changes: 4 additions & 1 deletion repository/filesystem/db/access.php
Expand Up @@ -6,7 +6,10 @@
'captype' => 'read',
'contextlevel' => CONTEXT_MODULE,
'archetypes' => array(
'user' => CAP_ALLOW
'coursecreator' => CAP_ALLOW,
'teacher' => CAP_ALLOW,
'editingteacher' => CAP_ALLOW,
'manager' => CAP_ALLOW
)
)
);
2 changes: 1 addition & 1 deletion repository/filesystem/version.php
Expand Up @@ -26,6 +26,6 @@

defined('MOODLE_INTERNAL') || die();

$plugin->version = 2011112900; // The current plugin version (Date: YYYYMMDDXX)
$plugin->version = 2012010100; // The current plugin version (Date: YYYYMMDDXX)
$plugin->requires = 2011112900; // Requires this Moodle version
$plugin->component = 'repository_filesystem'; // Full name of the plugin (used for diagnostics)
5 changes: 4 additions & 1 deletion repository/local/db/access.php
Expand Up @@ -6,7 +6,10 @@
'captype' => 'read',
'contextlevel' => CONTEXT_MODULE,
'archetypes' => array(
'user' => CAP_ALLOW
'coursecreator' => CAP_ALLOW,
'teacher' => CAP_ALLOW,
'editingteacher' => CAP_ALLOW,
'manager' => CAP_ALLOW
)
)
);
2 changes: 1 addition & 1 deletion repository/local/version.php
Expand Up @@ -26,6 +26,6 @@

defined('MOODLE_INTERNAL') || die();

$plugin->version = 2011112900; // The current plugin version (Date: YYYYMMDDXX)
$plugin->version = 2012010100; // The current plugin version (Date: YYYYMMDDXX)
$plugin->requires = 2011112900; // Requires this Moodle version
$plugin->component = 'repository_local'; // Full name of the plugin (used for diagnostics)
5 changes: 4 additions & 1 deletion repository/webdav/db/access.php
Expand Up @@ -6,7 +6,10 @@
'captype' => 'read',
'contextlevel' => CONTEXT_MODULE,
'archetypes' => array(
'user' => CAP_ALLOW
'coursecreator' => CAP_ALLOW,
'teacher' => CAP_ALLOW,
'editingteacher' => CAP_ALLOW,
'manager' => CAP_ALLOW
)
)
);
2 changes: 1 addition & 1 deletion repository/webdav/version.php
Expand Up @@ -26,6 +26,6 @@

defined('MOODLE_INTERNAL') || die();

$plugin->version = 2011112900; // The current plugin version (Date: YYYYMMDDXX)
$plugin->version = 2012010100; // The current plugin version (Date: YYYYMMDDXX)
$plugin->requires = 2011112900; // Requires this Moodle version
$plugin->component = 'repository_webdav'; // Full name of the plugin (used for diagnostics)

0 comments on commit 246c2cb

Please sign in to comment.