diff options
author | Dries Buytaert <dries@buytaert.net> | 2004-07-13 20:40:46 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2004-07-13 20:40:46 +0000 |
commit | 3613729d4f1ad8675305445e2717856b2c377faa (patch) | |
tree | cb80c11a018a9c68dbc25f924619a6a87fc73f68 /modules/aggregator | |
parent | 50d78e9855b529651f3c3ef05419215fcea58e21 (diff) | |
download | brdo-3613729d4f1ad8675305445e2717856b2c377faa.tar.gz brdo-3613729d4f1ad8675305445e2717856b2c377faa.tar.bz2 |
- Patch #8398 by TDobes: changed permissions for the blog, story, and page modules (and all occurrances elsewhere) to match their 4.4.x equivalents. In the discussion when these permissions were introduced, it was decided that "edit own ..." was clearer, but "maintain personal ..." slipped into CVS HEAD anyway, while "edit own ..." landed in the 4.4.x branch.
Changes are as follows:
"maintain personal blog" -> "edit own blog" (aggregator.module, blog.module, blogapi.module)
"maintain personal pages" -> "edit own pages" (page.module)
"maintain personal stories" -> "edit own stories (story.module)
Diffstat (limited to 'modules/aggregator')
-rw-r--r-- | modules/aggregator/aggregator.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/aggregator/aggregator.module b/modules/aggregator/aggregator.module index 7a8983c78..16b12d464 100644 --- a/modules/aggregator/aggregator.module +++ b/modules/aggregator/aggregator.module @@ -1009,7 +1009,7 @@ function theme_aggregator_feed($feed) { function theme_aggregator_block_item($item, $feed = 0) { global $user; - if ($user->uid && module_exist('blog') && user_access('maintain personal blog')) { + if ($user->uid && module_exist('blog') && user_access('edit own blog')) { $output .= '<div class="icon">'. l('<img src="'. theme('image', 'blog.png') .'" alt="'. t('blog it') .'" title="'. t('blog it') .'" />', 'node/add/blog', array('title' => t('Comment on this news item in your personal blog.'), 'class' => 'blog-it'), "iid=$item->iid") .'</div>'; } |