summaryrefslogtreecommitdiff
path: root/admin
diff options
context:
space:
mode:
authorwjames5 <will@tekimaki.com>2007-03-20 21:32:09 +0000
committerwjames5 <will@tekimaki.com>2007-03-20 21:32:09 +0000
commit10439da1c2bce1f5c503efffdbe7359f0663ca99 (patch)
tree8492b0d46cb1a531938b525de00a4307b55b5b71 /admin
parent8b1819cc41ae73108fc7e1b640121d0bad6ed8aa (diff)
downloadtags-10439da1c2bce1f5c503efffdbe7359f0663ca99.tar.gz
tags-10439da1c2bce1f5c503efffdbe7359f0663ca99.tar.bz2
tags-10439da1c2bce1f5c503efffdbe7359f0663ca99.zip
add perms and editing interface so you can fix or kill bad tags
Diffstat (limited to 'admin')
-rwxr-xr-xadmin/schema_inc.php11
1 files changed, 10 insertions, 1 deletions
diff --git a/admin/schema_inc.php b/admin/schema_inc.php
index ddac956..b6a0c6e 100755
--- a/admin/schema_inc.php
+++ b/admin/schema_inc.php
@@ -33,4 +33,13 @@ $sequences = array (
'tags_tag_id_seq' => array( 'start' => 1 ),
);
$gBitInstaller->registerSchemaSequences( TAGS_PKG_NAME, $sequences );
-?>
+
+
+// ### Default UserPermissions
+$gBitInstaller->registerUserPermissions( TAGS_PKG_NAME, array(
+ array( 'p_tags_admin', 'Can admin tags', 'admin', TAGS_PKG_NAME ),
+ array( 'p_tags_create', 'Can create tags', 'registered', TAGS_PKG_NAME ),
+ array( 'p_tags_edit', 'Can edit tags', 'editors', TAGS_PKG_NAME ),
+ array( 'p_tags_remove', 'Can delete tags', 'admin', TAGS_PKG_NAME ),
+) );
+?> \ No newline at end of file