summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authorMichael Save <savetheinternet@tinyboard.org>2012-05-07 18:22:20 +1000
committerMichael Save <savetheinternet@tinyboard.org>2012-05-07 18:22:20 +1000
commit890b541191286a7ce0d62df86fef37cf86abb1a8 (patch)
tree9afc985f6a3104bd7cb663d6ad92e9c004d48b9d /inc
parente132e4c2b3dc62c2ddb6bdbcc562e67fa61c9fa8 (diff)
custom capcode permissions
Diffstat (limited to 'inc')
-rw-r--r--inc/config.php15
1 files changed, 14 insertions, 1 deletions
diff --git a/inc/config.php b/inc/config.php
index baa1d022..9efc4b02 100644
--- a/inc/config.php
+++ b/inc/config.php
@@ -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.