summaryrefslogtreecommitdiff
path: root/core/helpers
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-05-13 18:03:50 +0000
committerBharat Mediratta <bharat@menalto.com>2009-05-13 18:03:50 +0000
commitc52a231bc08558077788601cbd8a97cd514f1a63 (patch)
tree57e9e445ea2824d40405244d13b2fc5c919587a6 /core/helpers
parent5c40669fd7b5a2b89d8e8dfb283c2703d0979d49 (diff)
Create a new "add" permission and require it at the controller level
when adding photos/movies/albums
Diffstat (limited to 'core/helpers')
-rw-r--r--core/helpers/core_installer.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/helpers/core_installer.php b/core/helpers/core_installer.php
index a933762a..724c0b92 100644
--- a/core/helpers/core_installer.php
+++ b/core/helpers/core_installer.php
@@ -192,6 +192,7 @@ class core_installer {
access::register_permission("view", "View");
access::register_permission("view_full", "View Full Size");
access::register_permission("edit", "Edit");
+ access::register_permission("add", "Add");
$root = ORM::factory("item");
$root->type = "album";