mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-20712 using just $capablities for capability definition array, all other files in db/* do not use component names in definition array; old capability array names are of course supported
This commit is contained in:
parent
e3acc8af7a
commit
0ac940b3bf
64 changed files with 92 additions and 124 deletions
|
@ -23,7 +23,7 @@
|
|||
// //
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
||||
$report_courseoverview_capabilities = array(
|
||||
$capabilities = array(
|
||||
|
||||
'report/courseoverview:view' => array(
|
||||
'riskbitmask' => RISK_PERSONAL,
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
// //
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
||||
$report_questioninstances_capabilities = array(
|
||||
$capabilities = array(
|
||||
|
||||
'report/questioninstances:view' => array(
|
||||
'captype' => 'read',
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
// //
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
||||
$report_security_capabilities = array(
|
||||
$capabilities = array(
|
||||
|
||||
'report/security:view' => array(
|
||||
'riskbitmask' => RISK_CONFIG,
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
// //
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
||||
$report_unittest_capabilities = array(
|
||||
$capabilities = array(
|
||||
|
||||
'report/unittest:view' => array(
|
||||
'riskbitmask' => RISK_DATALOSS,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue