Commit 022c9fcc authored by Gábor Hojtsy's avatar Gábor Hojtsy
Browse files

#185893 by Rob Loach: only provide blog page for users having permission to blog

parent 0d58aae2
......@@ -146,6 +146,8 @@ function blog_menu() {
'title' => 'My blog',
'page callback' => 'blog_page_user',
'page arguments' => array(1),
'access callback' => 'user_access',
'access arguments' => array('edit own blog', 1),
'file' => 'blog.pages.inc',
);
$items['blog/%user/feed'] = array(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment