Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
LabNbook
LabNbook-Moodle
Commits
e2ef0aa8
Commit
e2ef0aa8
authored
Feb 26, 2019
by
Francois Gannaz
Browse files
capabilities: fix a mistype (Moodle does not validate)
parent
1be7bd66
Changes
1
Hide whitespace changes
Inline
Side-by-side
db/access.php
View file @
e2ef0aa8
...
...
@@ -27,13 +27,12 @@ defined('MOODLE_INTERNAL') || die();
$capabilities
=
[
'mod/labnbook:view'
=>
[
'captype'
=>
'
view
'
,
'captype'
=>
'
read
'
,
'contextlevel'
=>
CONTEXT_MODULE
,
'archetypes'
=>
[
'student'
=>
CAP_ALLOW
,
'editingteacher'
=>
CAP_ALLOW
,
],
'clonepermissionsfrom'
=>
'moodle/course:view'
,
],
'mod/labnbook:addinstance'
=>
[
'riskbitmask'
=>
RISK_XSS
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment