privatemsg hook - wrong access string

askibinski - June 14, 2009 - 15:37
Project:Messaging
Version:6.x-2.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

The implementation of hook_messaging has an old/wrong user access string: "access private messages"

This is not available in the latest dev version of privatemsg and thus only user#1 has access to choose this when editing his profile.

I believe the new string should be "read privatemsg".

#1

Jose Reyero - June 16, 2009 - 14:24
Status:active» fixed

True, it should be fixed now, thanks.

#2

mikestefff - June 16, 2009 - 16:14

Fixed in the latest dev? Is the dev OK for production sites?

#3

mikestefff - June 17, 2009 - 04:42

Umm when logged in as the admin user (uid 1), I have all the choices, including private message, but when viewing trying to subscribe to a user other than myself, i still get the disabled options (have not upgraded to the latest dev)

#4

Jose Reyero - June 17, 2009 - 09:00

@mikestefff

> Fixed in the latest dev?
Yes, once if gets repackaged which may take a few hours. If you can't wait consider using cvs checkouts

> Is the dev OK for production sites?
Nope, that's why it's called 'dev'

> have not upgraded to the latest dev
Bugs don't get magically fixed in previous versions

#5

mikestefff - June 17, 2009 - 16:32

So then it's a lose-lose. Can't use an unstable module, and the stable one is broken. Why not just take the stable release, make the fix, and rerelease as a stable?

Could you just tell me what needs to be changed so I can patch myself?

#6

mikestefff - June 21, 2009 - 02:04

forget it - I got it

#7

System Message - July 5, 2009 - 02:10
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.