123456789101112131415161718192021222324252627282930313233343536 |
- <?php
- /**
- * This is access capabilities file
- *
- * @author Patricia Alves Rodrigues
- * @author Leônidas O. Brandão
- * @version v 1.0 2012/01/10
- * @package iassign_block_db
- * @since 2012/01/10
- * @copyright iMatica (<a href="http://www.matematica.br">iMath</a>) - Computer Science Dep. of IME-USP (Brazil)
- * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
- */
- $capabilities = array(
- 'block/iassign_block:editingteacher' => array(
- 'riskbitmask' => RISK_XSS,
- 'captype' => 'write',
- 'contextlevel' => CONTEXT_MODULE,
- 'legacy' => array(
- 'teacher' => CAP_ALLOW,
- 'editingteacher' => CAP_ALLOW,
- 'coursecreator' => CAP_ALLOW,
- 'manager' => CAP_ALLOW
- ))
- ,
- 'block/iassign_block:addinstance' => array(
- 'riskbitmask' => RISK_XSS,
- 'captype' => 'write',
- 'contextlevel' => CONTEXT_MODULE,
- 'legacy' => array(
- 'teacher' => CAP_ALLOW,
- 'editingteacher' => CAP_ALLOW,
- 'coursecreator' => CAP_ALLOW,
- 'manager' => CAP_ALLOW
- )
- )
- );
|