"Create Any Blog Entry" Permission does not work

darnbox - August 7, 2008 - 02:18
Project:EveryBlog
Version:6.x-1.3-beta1
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

If a create any non-admin user, and grant all EveryBlog permissions including "Create Any Blog Entry" when you navigate to create a new blog entry the drop list does not show all blogs, only blogs created by that user. The expected behavior (I thought) would be to show all blogs that exist.

A quick examination of the main module code (everyblog.standard.module) reveals the issue... (I think I've got this right)

Line 84 defines the permission "create any blog entry"

But line 101 checks for "create any blog entries", as does line 185.

I updated the module so that all checks look for "... entry" and this fixes the blog drop box. I'm not a developer at all, so I don't now the process for posting patches, etc, so I just attached my modified module code (.txt) for your review, so you can see if you agree with my analysis.

#1

ntroutman - August 7, 2008 - 04:55

Thanks for catching that. I'll have the fix in the next release.

Regards,
NTroutman

#2

KiamLaLuno - August 12, 2008 - 17:26

I don't see any attachment. Is it just me, or anybody else have this problem?

#3

darnbox - August 13, 2008 - 21:49
AttachmentSize
everyblog.standard.module.txt 13.31 KB
 
 

Drupal is a registered trademark of Dries Buytaert.