mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-33766 files: Capability to ignore userquota
This commit is contained in:
parent
21e3ea77a3
commit
380c122fe2
2 changed files with 15 additions and 1 deletions
|
@ -574,6 +574,15 @@ $capabilities = array(
|
|||
)
|
||||
),
|
||||
|
||||
// Can the user ignore the setting userquota?
|
||||
// The permissions are cloned from ignorefilesizelimits as it was partly used for that purpose.
|
||||
'moodle/user:ignoreuserquota' => array(
|
||||
'riskbitmap' => RISK_SPAM,
|
||||
'captype' => 'write',
|
||||
'contextlevel' => CONTEXT_SYSTEM,
|
||||
'clonepermissionsfrom' => 'moodle/course:ignorefilesizelimits'
|
||||
),
|
||||
|
||||
// can the user manage the system default dashboard page?
|
||||
'moodle/my:configsyspages' => array(
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue