--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/plugins/ajim/enanosetup.php Sun Jan 11 21:38:42 2009 -0500
@@ -0,0 +1,10 @@
+<?php
+
+$plugins->attachHook('acl_rule_init', 'ajim_permissions_setup($session, $this);');
+
+function ajim_permissions_setup(&$session, &$paths)
+{
+ $session->register_acl_type('ajim_post', AUTH_ALLOW, 'ajim_perm_post', Array(), 'All');
+ $session->register_acl_type('ajim_edit', AUTH_ALLOW, 'ajim_perm_edit', Array(), 'All');
+ $session->register_acl_type('ajim_mod', AUTH_DISALLOW, 'ajim_perm_mod', Array('ajim_post'), 'All');
+}