this small patch fixes a wrong permission check in the aggrgator of drupal 4.4.x.
Due to that wrong check onlu admin (uid1) could see the blog this icons. all others woiuld fail to see them.
This patch fizes that.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | maintain_to_editown.patch | 7.43 KB | TDobes |
| #2 | repair_aggrgator_blog_permission_0.patch | 861 bytes | Bèr Kessels |
| repair_aggrgator_blog_permission.patch | 883 bytes | Bèr Kessels |
Comments
Comment #1
dries commentedCommitted to DRUPAL-4-4. (IIRC blog permissions are broken in HEAD as well.)
Comment #2
Bèr Kessels commentedthis patch is for HEAD.
Comment #3
dries commentedgrep -r 'maintain personal blog' * | wc -lThat patch doesn't update all instances in HEAD.
Comment #4
dries commentedComment #5
TDobes commentedThe attached patch changes CVS HEAD 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)
Comment #6
dries commentedCommitted to HEAD. Thanks.
Comment #7
(not verified) commented