#142 Add setting to allow site-wide verification of certificates

This commit is contained in:
Mark Nelson 2017-11-12 12:55:10 +08:00
parent 981fd1828c
commit 65179d6b8b
7 changed files with 165 additions and 22 deletions

View file

@ -88,4 +88,12 @@ $capabilities = array(
'manager' => CAP_ALLOW
)
),
'mod/customcert:verifyallcertificates' => array(
'captype' => 'read',
'contextlevel' => CONTEXT_SYSTEM,
'archetypes' => array(
'manager' => CAP_ALLOW
)
),
);