You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
661 B
27 lines
661 B
<?php
|
|
$capabilities = array(
|
|
|
|
'block/fale_conosco:myaddinstance' => array(
|
|
'captype' => 'write',
|
|
'contextlevel' => CONTEXT_SYSTEM,
|
|
'archetypes' => array(
|
|
'user' => CAP_ALLOW
|
|
),
|
|
|
|
'clonepermissionsfrom' => 'moodle/my:manageblocks'
|
|
),
|
|
|
|
'block/fale_conosco:addinstance' => array(
|
|
'riskbitmask' => RISK_SPAM | RISK_XSS,
|
|
|
|
'captype' => 'write',
|
|
'contextlevel' => CONTEXT_BLOCK,
|
|
'archetypes' => array(
|
|
'editingteacher' => CAP_ALLOW,
|
|
'manager' => CAP_ALLOW
|
|
),
|
|
|
|
'clonepermissionsfrom' => 'moodle/site:manageblocks'
|
|
),
|
|
);
|
|
|
|
|