aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Chabowski <kevin@kch42.de>2012-06-09 22:59:01 +0200
committerKevin Chabowski <kevin@kch42.de>2012-06-09 22:59:01 +0200
commitf7cfbb6bdbbcd07e86a02a6e1f41590e27a2feb5 (patch)
tree4bfab0280d11d963a78ffe8cf39562b15344b29f
parentf6f7bf575a24ce1a61f5d0a10e73a2e9b9c7bfe5 (diff)
downloadratatoeskr-cms-f7cfbb6bdbbcd07e86a02a6e1f41590e27a2feb5.tar.gz
ratatoeskr-cms-f7cfbb6bdbbcd07e86a02a6e1f41590e27a2feb5.tar.bz2
ratatoeskr-cms-f7cfbb6bdbbcd07e86a02a6e1f41590e27a2feb5.zip
Listed privileges.
-rw-r--r--ratatoeskr/sys/models.php48
1 files changed, 48 insertions, 0 deletions
diff --git a/ratatoeskr/sys/models.php b/ratatoeskr/sys/models.php
index d1a737d..83fa49e 100644
--- a/ratatoeskr/sys/models.php
+++ b/ratatoeskr/sys/models.php
@@ -1316,6 +1316,54 @@ $global_acl_cache = array();
*/
class ACL extends BySQLRowEnabled
{
+ /*
+ * List: Privileges for ACLTYPE_GENERAL
+ *
+ * "change_settings" - Change the global settings.
+ * "manage_plugins" - Install, delete, update, de/activate plugins. Add, delete repositories.
+ * "add_users" - Add a new user.
+ * "modify_users" - Modify (delete, change settings, change group association) of other users.
+ * "manage_groups" - Add, delete groups.
+ * "edit_templates" - Add, edit and delete templates.
+ * "edit_styles" - Add, edit and delete styles.
+ * "edit_tags" - Add, edit and delete tags.
+ * "conf_global_acls" - Configure global ACLs.
+ * "new_section" - Add a new section.
+ * "new_image" - Upload a new image.
+ */
+
+ /*
+ * List: Privileges for ACLTYPE_ARTICLE
+ *
+ * "read" - Read access to article.
+ * "edit" - Edit article.
+ * "comment" - Comment on the article.
+ * "manage_comments" - Hide, unhide, delete comments for this article.
+ * "edit_acl" - Edit the ACL of this article.
+ * "change_section" - Changing the section of the article after it was created.
+ */
+
+ /*
+ * List: Privileges for ACLTYPE_SECTION
+ *
+ * "access" - Access this Section.
+ * "edit" - Edit the section.
+ * "new_article" - Create a new article for this section. The "read", "edit" and "manage_comments" privileges for the new article will automatically be granted to the user.
+ * "new_article_unprivileged" - Create a new article for this section. Does not grant the author extra privileges like the normal "new_article" privilege.
+ */
+
+ /*
+ * List: Privileges for ACLTYPE_IMAGE
+ *
+ * "delete" - Delete the image
+ */
+
+ /*
+ * List: Privileges for ACLTYPE_PLUGIN
+ *
+ * "use_in_backend" - Use the plugin functionality in the backend.
+ */
+
private $id;
private $type;
private $privileges;