Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-34270 blocks: Adding clonepermissionsfrom to the new capability d…

…efinitions
  • Loading branch information...
commit 70c9c1956d8338eb85c33d5bde4ad074bcb365ee 1 parent b291b59
@markn86 markn86 authored
Showing with 228 additions and 76 deletions.
  1. +6 −2 blocks/activity_modules/db/access.php
  2. +6 −2 blocks/admin_bookmarks/db/access.php
  3. +6 −2 blocks/blog_menu/db/access.php
  4. +6 −2 blocks/blog_recent/db/access.php
  5. +6 −2 blocks/blog_tags/db/access.php
  6. +6 −2 blocks/calendar_month/db/access.php
  7. +6 −2 blocks/calendar_upcoming/db/access.php
  8. +6 −2 blocks/comments/db/access.php
  9. +6 −2 blocks/community/db/access.php
  10. +6 −2 blocks/completionstatus/db/access.php
  11. +6 −2 blocks/course_list/db/access.php
  12. +6 −2 blocks/course_overview/db/access.php
  13. +6 −2 blocks/course_summary/db/access.php
  14. +6 −2 blocks/feedback/db/access.php
  15. +6 −2 blocks/glossary_random/db/access.php
  16. +6 −2 blocks/html/db/access.php
  17. +6 −2 blocks/login/db/access.php
  18. +6 −2 blocks/mentees/db/access.php
  19. +6 −2 blocks/messages/db/access.php
  20. +6 −2 blocks/mnet_hosts/db/access.php
  21. +6 −2 blocks/myprofile/db/access.php
  22. +6 −2 blocks/navigation/db/access.php
  23. +6 −2 blocks/news_items/db/access.php
  24. +6 −2 blocks/online_users/db/access.php
  25. +6 −2 blocks/participants/db/access.php
  26. +6 −2 blocks/private_files/db/access.php
  27. +6 −2 blocks/quiz_results/db/access.php
  28. +6 −2 blocks/recent_activity/db/access.php
  29. +6 −2 blocks/rss_client/db/access.php
  30. +6 −2 blocks/search_forums/db/access.php
  31. +6 −2 blocks/section_links/db/access.php
  32. +6 −2 blocks/selfcompletion/db/access.php
  33. +6 −2 blocks/settings/db/access.php
  34. +6 −2 blocks/site_main_menu/db/access.php
  35. +6 −2 blocks/social_activities/db/access.php
  36. +6 −2 blocks/tag_flickr/db/access.php
  37. +6 −2 blocks/tag_youtube/db/access.php
  38. +6 −2 blocks/tags/db/access.php
View
8 blocks/activity_modules/db/access.php
@@ -31,7 +31,9 @@
'contextlevel' => CONTEXT_SYSTEM,
'archetypes' => array(
'user' => CAP_ALLOW
- )
+ ),
+
+ 'clonepermissionsfrom' => 'moodle/my:manageblocks'
),
'block/activity_modules:addinstance' => array(
@@ -42,6 +44,8 @@
'archetypes' => array(
'editingteacher' => CAP_ALLOW,
'manager' => CAP_ALLOW
- )
+ ),
+
+ 'clonepermissionsfrom' => 'moodle/site:manageblocks'
),
);
View
8 blocks/admin_bookmarks/db/access.php
@@ -31,7 +31,9 @@
'contextlevel' => CONTEXT_SYSTEM,
'archetypes' => array(
'user' => CAP_ALLOW
- )
+ ),
+
+ 'clonepermissionsfrom' => 'moodle/my:manageblocks'
),
'block/admin_bookmarks:addinstance' => array(
@@ -42,6 +44,8 @@
'archetypes' => array(
'editingteacher' => CAP_ALLOW,
'manager' => CAP_ALLOW
- )
+ ),
+
+ 'clonepermissionsfrom' => 'moodle/site:manageblocks'
),
);
View
8 blocks/blog_menu/db/access.php
@@ -31,7 +31,9 @@
'contextlevel' => CONTEXT_SYSTEM,
'archetypes' => array(
'user' => CAP_ALLOW
- )
+ ),
+
+ 'clonepermissionsfrom' => 'moodle/my:manageblocks'
),
'block/blog_menu:addinstance' => array(
@@ -42,6 +44,8 @@
'archetypes' => array(
'editingteacher' => CAP_ALLOW,
'manager' => CAP_ALLOW
- )
+ ),
+
+ 'clonepermissionsfrom' => 'moodle/site:manageblocks'
),
);
View
8 blocks/blog_recent/db/access.php
@@ -31,7 +31,9 @@
'contextlevel' => CONTEXT_SYSTEM,
'archetypes' => array(
'user' => CAP_ALLOW
- )
+ ),
+
+ 'clonepermissionsfrom' => 'moodle/my:manageblocks'
),
'block/blog_recent:addinstance' => array(
@@ -42,6 +44,8 @@
'archetypes' => array(
'editingteacher' => CAP_ALLOW,
'manager' => CAP_ALLOW
- )
+ ),
+
+ 'clonepermissionsfrom' => 'moodle/site:manageblocks'
),
);
View
8 blocks/blog_tags/db/access.php
@@ -31,7 +31,9 @@
'contextlevel' => CONTEXT_SYSTEM,
'archetypes' => array(
'user' => CAP_ALLOW
- )
+ ),
+
+ 'clonepermissionsfrom' => 'moodle/my:manageblocks'
),
'block/blog_tags:addinstance' => array(
@@ -42,6 +44,8 @@
'archetypes' => array(
'editingteacher' => CAP_ALLOW,
'manager' => CAP_ALLOW
- )
+ ),
+
+ 'clonepermissionsfrom' => 'moodle/site:manageblocks'
),
);
View
8 blocks/calendar_month/db/access.php
@@ -31,7 +31,9 @@
'contextlevel' => CONTEXT_SYSTEM,
'archetypes' => array(
'user' => CAP_ALLOW
- )
+ ),
+
+ 'clonepermissionsfrom' => 'moodle/my:manageblocks'
),
'block/calendar_month:addinstance' => array(
@@ -42,6 +44,8 @@
'archetypes' => array(
'editingteacher' => CAP_ALLOW,
'manager' => CAP_ALLOW
- )
+ ),
+
+ 'clonepermissionsfrom' => 'moodle/site:manageblocks'
),
);
View
8 blocks/calendar_upcoming/db/access.php
@@ -31,7 +31,9 @@
'contextlevel' => CONTEXT_SYSTEM,
'archetypes' => array(
'user' => CAP_ALLOW
- )
+ ),
+
+ 'clonepermissionsfrom' => 'moodle/my:manageblocks'
),
'block/calendar_upcoming:addinstance' => array(
@@ -42,6 +44,8 @@
'archetypes' => array(
'editingteacher' => CAP_ALLOW,
'manager' => CAP_ALLOW
- )
+ ),
+
+ 'clonepermissionsfrom' => 'moodle/site:manageblocks'
),
);
View
8 blocks/comments/db/access.php
@@ -31,7 +31,9 @@
'contextlevel' => CONTEXT_SYSTEM,
'archetypes' => array(
'user' => CAP_ALLOW
- )
+ ),
+
+ 'clonepermissionsfrom' => 'moodle/my:manageblocks'
),
'block/comments:addinstance' => array(
@@ -42,6 +44,8 @@
'archetypes' => array(
'editingteacher' => CAP_ALLOW,
'manager' => CAP_ALLOW
- )
+ ),
+
+ 'clonepermissionsfrom' => 'moodle/site:manageblocks'
),
);
View
8 blocks/community/db/access.php
@@ -31,7 +31,9 @@
'contextlevel' => CONTEXT_SYSTEM,
'archetypes' => array(
'user' => CAP_ALLOW
- )
+ ),
+
+ 'clonepermissionsfrom' => 'moodle/my:manageblocks'
),
'block/community:addinstance' => array(
@@ -42,6 +44,8 @@
'archetypes' => array(
'editingteacher' => CAP_ALLOW,
'manager' => CAP_ALLOW
- )
+ ),
+
+ 'clonepermissionsfrom' => 'moodle/site:manageblocks'
),
);
View
8 blocks/completionstatus/db/access.php
@@ -31,7 +31,9 @@
'contextlevel' => CONTEXT_SYSTEM,
'archetypes' => array(
'user' => CAP_ALLOW
- )
+ ),
+
+ 'clonepermissionsfrom' => 'moodle/my:manageblocks'
),
'block/completionstatus:addinstance' => array(
@@ -42,6 +44,8 @@
'archetypes' => array(
'editingteacher' => CAP_ALLOW,
'manager' => CAP_ALLOW
- )
+ ),
+
+ 'clonepermissionsfrom' => 'moodle/site:manageblocks'
),
);
View
8 blocks/course_list/db/access.php
@@ -31,7 +31,9 @@
'contextlevel' => CONTEXT_SYSTEM,
'archetypes' => array(
'user' => CAP_ALLOW
- )
+ ),
+
+ 'clonepermissionsfrom' => 'moodle/my:manageblocks'
),
'block/course_list:addinstance' => array(
@@ -42,6 +44,8 @@
'archetypes' => array(
'editingteacher' => CAP_ALLOW,
'manager' => CAP_ALLOW
- )
+ ),
+
+ 'clonepermissionsfrom' => 'moodle/site:manageblocks'
),
);
View
8 blocks/course_overview/db/access.php
@@ -31,7 +31,9 @@
'contextlevel' => CONTEXT_SYSTEM,
'archetypes' => array(
'user' => CAP_ALLOW
- )
+ ),
+
+ 'clonepermissionsfrom' => 'moodle/my:manageblocks'
),
'block/course_overview:addinstance' => array(
@@ -42,6 +44,8 @@
'archetypes' => array(
'editingteacher' => CAP_ALLOW,
'manager' => CAP_ALLOW
- )
+ ),
+
+ 'clonepermissionsfrom' => 'moodle/site:manageblocks'
),
);
View
8 blocks/course_summary/db/access.php
@@ -31,7 +31,9 @@
'contextlevel' => CONTEXT_SYSTEM,
'archetypes' => array(
'user' => CAP_ALLOW
- )
+ ),
+
+ 'clonepermissionsfrom' => 'moodle/my:manageblocks'
),
'block/course_summary:addinstance' => array(
@@ -42,6 +44,8 @@
'archetypes' => array(
'editingteacher' => CAP_ALLOW,
'manager' => CAP_ALLOW
- )
+ ),
+
+ 'clonepermissionsfrom' => 'moodle/site:manageblocks'
),
);
View
8 blocks/feedback/db/access.php
@@ -31,7 +31,9 @@
'contextlevel' => CONTEXT_SYSTEM,
'archetypes' => array(
'user' => CAP_ALLOW
- )
+ ),
+
+ 'clonepermissionsfrom' => 'moodle/my:manageblocks'
),
'block/feedback:addinstance' => array(
@@ -42,6 +44,8 @@
'archetypes' => array(
'editingteacher' => CAP_ALLOW,
'manager' => CAP_ALLOW
- )
+ ),
+
+ 'clonepermissionsfrom' => 'moodle/site:manageblocks'
),
);
View
8 blocks/glossary_random/db/access.php
@@ -31,7 +31,9 @@
'contextlevel' => CONTEXT_SYSTEM,
'archetypes' => array(
'user' => CAP_ALLOW
- )
+ ),
+
+ 'clonepermissionsfrom' => 'moodle/my:manageblocks'
),
'block/glossary_random:addinstance' => array(
@@ -42,6 +44,8 @@
'archetypes' => array(
'editingteacher' => CAP_ALLOW,
'manager' => CAP_ALLOW
- )
+ ),
+
+ 'clonepermissionsfrom' => 'moodle/site:manageblocks'
),
);
View
8 blocks/html/db/access.php
@@ -31,7 +31,9 @@
'contextlevel' => CONTEXT_SYSTEM,
'archetypes' => array(
'user' => CAP_ALLOW
- )
+ ),
+
+ 'clonepermissionsfrom' => 'moodle/my:manageblocks'
),
'block/html:addinstance' => array(
@@ -42,6 +44,8 @@
'archetypes' => array(
'editingteacher' => CAP_ALLOW,
'manager' => CAP_ALLOW
- )
+ ),
+
+ 'clonepermissionsfrom' => 'moodle/site:manageblocks'
),
);
View
8 blocks/login/db/access.php
@@ -31,7 +31,9 @@
'contextlevel' => CONTEXT_SYSTEM,
'archetypes' => array(
'user' => CAP_ALLOW
- )
+ ),
+
+ 'clonepermissionsfrom' => 'moodle/my:manageblocks'
),
'block/login:addinstance' => array(
@@ -42,6 +44,8 @@
'archetypes' => array(
'editingteacher' => CAP_ALLOW,
'manager' => CAP_ALLOW
- )
+ ),
+
+ 'clonepermissionsfrom' => 'moodle/site:manageblocks'
),
);
View
8 blocks/mentees/db/access.php
@@ -31,7 +31,9 @@
'contextlevel' => CONTEXT_SYSTEM,
'archetypes' => array(
'user' => CAP_ALLOW
- )
+ ),
+
+ 'clonepermissionsfrom' => 'moodle/my:manageblocks'
),
'block/mentees:addinstance' => array(
@@ -42,6 +44,8 @@
'archetypes' => array(
'editingteacher' => CAP_ALLOW,
'manager' => CAP_ALLOW
- )
+ ),
+
+ 'clonepermissionsfrom' => 'moodle/site:manageblocks'
),
);
View
8 blocks/messages/db/access.php
@@ -31,7 +31,9 @@
'contextlevel' => CONTEXT_SYSTEM,
'archetypes' => array(
'user' => CAP_ALLOW
- )
+ ),
+
+ 'clonepermissionsfrom' => 'moodle/my:manageblocks'
),
'block/messages:addinstance' => array(
@@ -42,6 +44,8 @@
'archetypes' => array(
'editingteacher' => CAP_ALLOW,
'manager' => CAP_ALLOW
- )
+ ),
+
+ 'clonepermissionsfrom' => 'moodle/site:manageblocks'
),
);
View
8 blocks/mnet_hosts/db/access.php
@@ -31,7 +31,9 @@
'contextlevel' => CONTEXT_SYSTEM,
'archetypes' => array(
'user' => CAP_ALLOW
- )
+ ),
+
+ 'clonepermissionsfrom' => 'moodle/my:manageblocks'
),
'block/mnet_hosts:addinstance' => array(
@@ -42,6 +44,8 @@
'archetypes' => array(
'editingteacher' => CAP_ALLOW,
'manager' => CAP_ALLOW
- )
+ ),
+
+ 'clonepermissionsfrom' => 'moodle/site:manageblocks'
),
);
View
8 blocks/myprofile/db/access.php
@@ -31,7 +31,9 @@
'contextlevel' => CONTEXT_SYSTEM,
'archetypes' => array(
'user' => CAP_ALLOW
- )
+ ),
+
+ 'clonepermissionsfrom' => 'moodle/my:manageblocks'
),
'block/myprofile:addinstance' => array(
@@ -42,6 +44,8 @@
'archetypes' => array(
'editingteacher' => CAP_ALLOW,
'manager' => CAP_ALLOW
- )
+ ),
+
+ 'clonepermissionsfrom' => 'moodle/site:manageblocks'
),
);
View
8 blocks/navigation/db/access.php
@@ -31,7 +31,9 @@
'contextlevel' => CONTEXT_SYSTEM,
'archetypes' => array(
'user' => CAP_ALLOW
- )
+ ),
+
+ 'clonepermissionsfrom' => 'moodle/my:manageblocks'
),
'block/navigation:addinstance' => array(
@@ -42,6 +44,8 @@
'archetypes' => array(
'editingteacher' => CAP_ALLOW,
'manager' => CAP_ALLOW
- )
+ ),
+
+ 'clonepermissionsfrom' => 'moodle/site:manageblocks'
),
);
View
8 blocks/news_items/db/access.php
@@ -31,7 +31,9 @@
'contextlevel' => CONTEXT_SYSTEM,
'archetypes' => array(
'user' => CAP_ALLOW
- )
+ ),
+
+ 'clonepermissionsfrom' => 'moodle/my:manageblocks'
),
'block/news_items:addinstance' => array(
@@ -42,6 +44,8 @@
'archetypes' => array(
'editingteacher' => CAP_ALLOW,
'manager' => CAP_ALLOW
- )
+ ),
+
+ 'clonepermissionsfrom' => 'moodle/site:manageblocks'
),
);
View
8 blocks/online_users/db/access.php
@@ -31,7 +31,9 @@
'contextlevel' => CONTEXT_SYSTEM,
'archetypes' => array(
'user' => CAP_ALLOW
- )
+ ),
+
+ 'clonepermissionsfrom' => 'moodle/my:manageblocks'
),
'block/online_users:addinstance' => array(
@@ -42,7 +44,9 @@
'archetypes' => array(
'editingteacher' => CAP_ALLOW,
'manager' => CAP_ALLOW
- )
+ ),
+
+ 'clonepermissionsfrom' => 'moodle/site:manageblocks'
),
'block/online_users:viewlist' => array(
View
8 blocks/participants/db/access.php
@@ -31,7 +31,9 @@
'contextlevel' => CONTEXT_SYSTEM,
'archetypes' => array(
'user' => CAP_ALLOW
- )
+ ),
+
+ 'clonepermissionsfrom' => 'moodle/my:manageblocks'
),
'block/participants:addinstance' => array(
@@ -42,6 +44,8 @@
'archetypes' => array(
'editingteacher' => CAP_ALLOW,
'manager' => CAP_ALLOW
- )
+ ),
+
+ 'clonepermissionsfrom' => 'moodle/site:manageblocks'
),
);
View
8 blocks/private_files/db/access.php
@@ -31,7 +31,9 @@
'contextlevel' => CONTEXT_SYSTEM,
'archetypes' => array(
'user' => CAP_ALLOW
- )
+ ),
+
+ 'clonepermissionsfrom' => 'moodle/my:manageblocks'
),
'block/private_files:addinstance' => array(
@@ -42,6 +44,8 @@
'archetypes' => array(
'editingteacher' => CAP_ALLOW,
'manager' => CAP_ALLOW
- )
+ ),
+
+ 'clonepermissionsfrom' => 'moodle/site:manageblocks'
),
);
View
8 blocks/quiz_results/db/access.php
@@ -31,7 +31,9 @@
'contextlevel' => CONTEXT_SYSTEM,
'archetypes' => array(
'user' => CAP_ALLOW
- )
+ ),
+
+ 'clonepermissionsfrom' => 'moodle/my:manageblocks'
),
'block/quiz_results:addinstance' => array(
@@ -42,6 +44,8 @@
'archetypes' => array(
'editingteacher' => CAP_ALLOW,
'manager' => CAP_ALLOW
- )
+ ),
+
+ 'clonepermissionsfrom' => 'moodle/site:manageblocks'
),
);
View
8 blocks/recent_activity/db/access.php
@@ -31,7 +31,9 @@
'contextlevel' => CONTEXT_SYSTEM,
'archetypes' => array(
'user' => CAP_ALLOW
- )
+ ),
+
+ 'clonepermissionsfrom' => 'moodle/my:manageblocks'
),
'block/recent_activity:addinstance' => array(
@@ -42,6 +44,8 @@
'archetypes' => array(
'editingteacher' => CAP_ALLOW,
'manager' => CAP_ALLOW
- )
+ ),
+
+ 'clonepermissionsfrom' => 'moodle/site:manageblocks'
),
);
View
8 blocks/rss_client/db/access.php
@@ -31,7 +31,9 @@
'contextlevel' => CONTEXT_SYSTEM,
'archetypes' => array(
'user' => CAP_ALLOW
- )
+ ),
+
+ 'clonepermissionsfrom' => 'moodle/my:manageblocks'
),
'block/rss_client:addinstance' => array(
@@ -42,7 +44,9 @@
'archetypes' => array(
'editingteacher' => CAP_ALLOW,
'manager' => CAP_ALLOW
- )
+ ),
+
+ 'clonepermissionsfrom' => 'moodle/site:manageblocks'
),
'block/rss_client:manageownfeeds' => array(
View
8 blocks/search_forums/db/access.php
@@ -31,7 +31,9 @@
'contextlevel' => CONTEXT_SYSTEM,
'archetypes' => array(
'user' => CAP_ALLOW
- )
+ ),
+
+ 'clonepermissionsfrom' => 'moodle/my:manageblocks'
),
'block/search_forums:addinstance' => array(
@@ -42,6 +44,8 @@
'archetypes' => array(
'editingteacher' => CAP_ALLOW,
'manager' => CAP_ALLOW
- )
+ ),
+
+ 'clonepermissionsfrom' => 'moodle/site:manageblocks'
),
);
View
8 blocks/section_links/db/access.php
@@ -31,7 +31,9 @@
'contextlevel' => CONTEXT_SYSTEM,
'archetypes' => array(
'user' => CAP_ALLOW
- )
+ ),
+
+ 'clonepermissionsfrom' => 'moodle/my:manageblocks'
),
'block/section_links:addinstance' => array(
@@ -42,6 +44,8 @@
'archetypes' => array(
'editingteacher' => CAP_ALLOW,
'manager' => CAP_ALLOW
- )
+ ),
+
+ 'clonepermissionsfrom' => 'moodle/site:manageblocks'
),
);
View
8 blocks/selfcompletion/db/access.php
@@ -31,7 +31,9 @@
'contextlevel' => CONTEXT_SYSTEM,
'archetypes' => array(
'user' => CAP_ALLOW
- )
+ ),
+
+ 'clonepermissionsfrom' => 'moodle/my:manageblocks'
),
'block/selfcompletion:addinstance' => array(
@@ -42,6 +44,8 @@
'archetypes' => array(
'editingteacher' => CAP_ALLOW,
'manager' => CAP_ALLOW
- )
+ ),
+
+ 'clonepermissionsfrom' => 'moodle/site:manageblocks'
),
);
View
8 blocks/settings/db/access.php
@@ -31,7 +31,9 @@
'contextlevel' => CONTEXT_SYSTEM,
'archetypes' => array(
'user' => CAP_ALLOW
- )
+ ),
+
+ 'clonepermissionsfrom' => 'moodle/my:manageblocks'
),
'block/settings:addinstance' => array(
@@ -42,6 +44,8 @@
'archetypes' => array(
'editingteacher' => CAP_ALLOW,
'manager' => CAP_ALLOW
- )
+ ),
+
+ 'clonepermissionsfrom' => 'moodle/site:manageblocks'
),
);
View
8 blocks/site_main_menu/db/access.php
@@ -31,7 +31,9 @@
'contextlevel' => CONTEXT_SYSTEM,
'archetypes' => array(
'user' => CAP_ALLOW
- )
+ ),
+
+ 'clonepermissionsfrom' => 'moodle/my:manageblocks'
),
'block/site_main_menu:addinstance' => array(
@@ -42,6 +44,8 @@
'archetypes' => array(
'editingteacher' => CAP_ALLOW,
'manager' => CAP_ALLOW
- )
+ ),
+
+ 'clonepermissionsfrom' => 'moodle/site:manageblocks'
),
);
View
8 blocks/social_activities/db/access.php
@@ -31,7 +31,9 @@
'contextlevel' => CONTEXT_SYSTEM,
'archetypes' => array(
'user' => CAP_ALLOW
- )
+ ),
+
+ 'clonepermissionsfrom' => 'moodle/my:manageblocks'
),
'block/social_activities:addinstance' => array(
@@ -42,6 +44,8 @@
'archetypes' => array(
'editingteacher' => CAP_ALLOW,
'manager' => CAP_ALLOW
- )
+ ),
+
+ 'clonepermissionsfrom' => 'moodle/site:manageblocks'
),
);
View
8 blocks/tag_flickr/db/access.php
@@ -31,7 +31,9 @@
'contextlevel' => CONTEXT_SYSTEM,
'archetypes' => array(
'user' => CAP_ALLOW
- )
+ ),
+
+ 'clonepermissionsfrom' => 'moodle/my:manageblocks'
),
'block/tag_flickr:addinstance' => array(
@@ -42,6 +44,8 @@
'archetypes' => array(
'editingteacher' => CAP_ALLOW,
'manager' => CAP_ALLOW
- )
+ ),
+
+ 'clonepermissionsfrom' => 'moodle/site:manageblocks'
),
);
View
8 blocks/tag_youtube/db/access.php
@@ -31,7 +31,9 @@
'contextlevel' => CONTEXT_SYSTEM,
'archetypes' => array(
'user' => CAP_ALLOW
- )
+ ),
+
+ 'clonepermissionsfrom' => 'moodle/my:manageblocks'
),
'block/tag_youtube:addinstance' => array(
@@ -42,6 +44,8 @@
'archetypes' => array(
'editingteacher' => CAP_ALLOW,
'manager' => CAP_ALLOW
- )
+ ),
+
+ 'clonepermissionsfrom' => 'moodle/site:manageblocks'
),
);
View
8 blocks/tags/db/access.php
@@ -31,7 +31,9 @@
'contextlevel' => CONTEXT_SYSTEM,
'archetypes' => array(
'user' => CAP_ALLOW
- )
+ ),
+
+ 'clonepermissionsfrom' => 'moodle/my:manageblocks'
),
'block/tags:addinstance' => array(
@@ -42,6 +44,8 @@
'archetypes' => array(
'editingteacher' => CAP_ALLOW,
'manager' => CAP_ALLOW
- )
+ ),
+
+ 'clonepermissionsfrom' => 'moodle/site:manageblocks'
),
);
Please sign in to comment.
Something went wrong with that request. Please try again.