Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5167f4c
)
MDL-28503 comment-caps Slight improvement to allow frontpage and guest users to view...
author
Sam Hemelryk
<sam@moodle.com>
Fri, 29 Jul 2011 01:32:48 +0000
(09:32 +0800)
committer
Sam Hemelryk
<sam@moodle.com>
Fri, 29 Jul 2011 01:32:48 +0000
(09:32 +0800)
lib/db/access.php
patch
|
blob
|
blame
|
history
diff --git
a/lib/db/access.php
b/lib/db/access.php
index
c9f0ee2
..
bc42449
100644
(file)
--- a/
lib/db/access.php
+++ b/
lib/db/access.php
@@
-1641,10
+1641,11
@@
$capabilities = array(
)
),
'moodle/comment:view' => array(
-
'captype' => 'read',
'contextlevel' => CONTEXT_COURSE,
'archetypes' => array(
+ 'frontpage' => CAP_ALLOW,
+ 'guest' => CAP_ALLOW,
'user' => CAP_ALLOW,
'student' => CAP_ALLOW,
'teacher' => CAP_ALLOW,