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 |
Jump to:
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
True, it should be fixed now, thanks.
#2
Fixed in the latest dev? Is the dev OK for production sites?
#3
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
@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
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
forget it - I got it
#7
Automatically closed -- issue fixed for 2 weeks with no activity.