This module lacks a permission for "Administer PHPFreeChat Settings" so only the admin user UID=1 can actually administer the settings for the module.

CommentFileSizeAuthor
#2 phpfreechat-467470-admin-access-1.patch517 bytesgnat

Comments

clarkburbidge’s picture

Wow! That is good info to know. I've been floundering trying to find the settings...

gnat’s picture

Priority: Normal » Critical
Status: Active » Needs review
StatusFileSize
new517 bytes

This is patch fixes this issue, by adding the correct permissions to hook_perm, where it was missing.

gnat’s picture

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.