custom capcode permissions

This commit is contained in:
Michael Save
2012-05-07 18:22:20 +10:00
parent e132e4c2b3
commit 890b541191
2 changed files with 30 additions and 7 deletions

View File

@@ -870,7 +870,20 @@
* Mod permissions
* ====================
*/
// Capcode permissions
$config['mod']['capcode'] = array(
// JANITOR => array('Janitor'),
MOD => array('Mod'),
ADMIN => true
);
// Example: Allow mods to post with "## Moderator" as well
// $config['mod']['capcode'][MOD][] = 'Moderator';
// Example: Allow janitors to post with any capcode
// $config['mod']['capcode'][JANITOR] = true;
// Set any of the below to "DISABLED" to make them unavailable for everyone.
// Don't worry about per-board moderators. Let all mods moderate any board.