From 3613729d4f1ad8675305445e2717856b2c377faa Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 13 Jul 2004 20:40:46 +0000 Subject: - 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) --- modules/blogapi/blogapi.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/blogapi/blogapi.module') diff --git a/modules/blogapi/blogapi.module b/modules/blogapi/blogapi.module index 7f38508ee..9218e8fb3 100644 --- a/modules/blogapi/blogapi.module +++ b/modules/blogapi/blogapi.module @@ -424,7 +424,7 @@ function blogapi_validate_user($username, $password) { $user = user_load(array('name' => $username, 'pass' => $password, 'status' => 1)); if ($user->uid) { - if (user_access('maintain personal blog')) { + if (user_access('edit own blog')) { return $user; } else { -- cgit v1.2.3