Applying: MDL-30452 Repositories: Changed default capability on repos - Thanks Michael

This commit is contained in:
Rajesh Taneja
2012-01-10 11:15:33 +01:00
committed by Eloy Lafuente (stronk7)
parent c44874f201
commit 91dac2a2c9
8 changed files with 20 additions and 8 deletions
+4 -1
View File
@@ -6,7 +6,10 @@ $capabilities = array(
'captype' => 'read',
'contextlevel' => CONTEXT_MODULE,
'archetypes' => array(
'user' => CAP_ALLOW
'coursecreator' => CAP_ALLOW,
'teacher' => CAP_ALLOW,
'editingteacher' => CAP_ALLOW,
'manager' => CAP_ALLOW
)
)
);
+1 -1
View File
@@ -15,4 +15,4 @@
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
$plugin->version = 2010083100;
$plugin->version = 2012010100;
+4 -1
View File
@@ -6,7 +6,10 @@ $capabilities = array(
'captype' => 'read',
'contextlevel' => CONTEXT_MODULE,
'archetypes' => array(
'user' => CAP_ALLOW
'coursecreator' => CAP_ALLOW,
'teacher' => CAP_ALLOW,
'editingteacher' => CAP_ALLOW,
'manager' => CAP_ALLOW
)
)
);
+1 -1
View File
@@ -15,4 +15,4 @@
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
$plugin->version = 2009080102;
$plugin->version = 2012010100;
+4 -1
View File
@@ -6,7 +6,10 @@ $capabilities = array(
'captype' => 'read',
'contextlevel' => CONTEXT_MODULE,
'archetypes' => array(
'user' => CAP_ALLOW
'coursecreator' => CAP_ALLOW,
'teacher' => CAP_ALLOW,
'editingteacher' => CAP_ALLOW,
'manager' => CAP_ALLOW
)
)
);
+1 -1
View File
@@ -15,4 +15,4 @@
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
$plugin->version = 2009080102;
$plugin->version = 2012010100;
+4 -1
View File
@@ -6,7 +6,10 @@ $capabilities = array(
'captype' => 'read',
'contextlevel' => CONTEXT_MODULE,
'archetypes' => array(
'user' => CAP_ALLOW
'coursecreator' => CAP_ALLOW,
'teacher' => CAP_ALLOW,
'editingteacher' => CAP_ALLOW,
'manager' => CAP_ALLOW
)
)
);
+1 -1
View File
@@ -15,4 +15,4 @@
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
$plugin->version = 2009080102;
$plugin->version = 2012010100;