Posted by GregoryHeller on May 19, 2009 at 10:11pm
| Project: | phpfreechat |
| Version: | 6.x-1.1 |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | needs review |
Issue Summary
This module lacks a permission for "Administer PHPFreeChat Settings" so only the admin user UID=1 can actually administer the settings for the module.
Comments
#1
Wow! That is good info to know. I've been floundering trying to find the settings...
#2
This is patch fixes this issue, by adding the correct permissions to hook_perm, where it was missing.
#3
Also, I should note, that if you need to fix this in your own install, open up the phpfreechat.module file in a text editor and change this:
/*** Implementation of hook_perm().
*/
function phpfreechat_perm() {
return array('talk on chat channels', 'create nodes with chatrooms', 'moderate chat channels');
}
to...
/*** Implementation of hook_perm().
*/
function phpfreechat_perm() {
return array('talk on chat channels', 'create nodes with chatrooms', 'moderate chat channels', 'admin phpfreechat');
}
That is exactly what the patch supplied in #2 does.