[pLog-svn] r4107 - plog/trunk/install

oscar at devel.lifetype.net oscar at devel.lifetype.net
Sun Oct 8 21:27:02 GMT 2006


Author: oscar
Date: 2006-10-08 21:27:01 +0000 (Sun, 08 Oct 2006)
New Revision: 4107

Added:
   plog/trunk/install/corepermissions.properties.php
Log:
work in progress regarding the list of core permissions that will be loaded when installing LifeType. So far I've only compiled the permissions that blog users can assign, I will work some other time on the permissions that can be assigned by administrators.


Added: plog/trunk/install/corepermissions.properties.php
===================================================================
--- plog/trunk/install/corepermissions.properties.php	2006-10-08 21:25:35 UTC (rev 4106)
+++ plog/trunk/install/corepermissions.properties.php	2006-10-08 21:27:01 UTC (rev 4107)
@@ -0,0 +1,40 @@
+<?php
+/**
+ * This file contains all the core permissions that will be loaded in LifeType
+ * during the installation process.
+ *
+ * The format is one big array containing all the permissions available in the system. 
+ * Each permission is an array with four fields:
+ *
+ *   permission name (string with the permission name, please do not use spaces)
+ *   permission description (description of the permission)
+ *   core permission (true or false)
+ *   admin only permission  (true or false)
+ *
+ * Please do not modify unless you know what you're doing.
+ */
+$permissions = Array(
+	Array( "login_perm", "login_perm_desc", true, true ),
+	Array( "add_post", "add_post_desc", true, false ),
+	Array( "update_post", "update_post_desc", true, false ),
+	Array( "add_category", "add_category_desc", true, false ),
+	Array( "update_category", "update_category_desc", true, false ),
+	Array( "add_link", "add_link_desc", true, false ),
+	Array( "update_link", "update_link_desc", true, false ),
+	Array( "add_link_category", "add_link_category_desc", true, false ),
+	Array( "update_link_category", "update_link_category_desc", true, false ),
+	Array( "update_comment", "update_comment_desc", true, false ),
+	Array( "update_trackback", "update_trackback_desc", true, false ),
+	Array( "add_custom_field", "add_custom_field_desc", true, false ),
+	Array( "update_custom_field", "update_custom_field_desc", true, false ),
+	Array( "add_resource", "add_resource_desc", true, false ),
+	Array( "update_resource", "update_resource_desc", true, false ),
+	Array( "add_album", "add_album_desc", true, false ),
+	Array( "update_album", "update_album_desc", true, false ),
+	Array( "update_blog", "update_blog_desc", true, false ),
+	Array( "add_blog_user", "add_blog_user_desc", true, false ),
+	Array( "update_blog_user", "update_blog_user_desc", true, false ),
+	Array( "add_blog_template", "add_blog_template_desc", true, false ),
+	Array( "update_blog_template", "update_blog_template_desc", true, false )
+);
+?>
\ No newline at end of file



More information about the pLog-svn mailing list