summaryrefslogtreecommitdiff
path: root/admin/schema_inc.php
diff options
context:
space:
mode:
authorNick Palmer <nick@sluggardy.net>2007-06-20 23:17:02 +0000
committerNick Palmer <nick@sluggardy.net>2007-06-20 23:17:02 +0000
commit5a9afa5379ba9c959dabeb763c33794fa3f8e1ac (patch)
tree97e3094a827ceadeaf12a435f95e53d9a86814af /admin/schema_inc.php
parenta0554231281af269fcbc6422c065c6a5f6936dc0 (diff)
downloadliberty-5a9afa5379ba9c959dabeb763c33794fa3f8e1ac.tar.gz
liberty-5a9afa5379ba9c959dabeb763c33794fa3f8e1ac.tar.bz2
liberty-5a9afa5379ba9c959dabeb763c33794fa3f8e1ac.zip
Add new expungingAttachment call to LibertyAttachable to notify content that an attachment it is connected to is dying. Restore delete to edit_storage_list gated by a new permission. Ensure that fisheye and treasury delete when their attachments delete.
Diffstat (limited to 'admin/schema_inc.php')
-rw-r--r--admin/schema_inc.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/admin/schema_inc.php b/admin/schema_inc.php
index 1581f22..baad646 100644
--- a/admin/schema_inc.php
+++ b/admin/schema_inc.php
@@ -307,6 +307,7 @@ $gBitInstaller->registerUserPermissions( LIBERTY_PKG_NAME, array(
array('p_liberty_edit_comments', 'Can edit all comments', 'editors', LIBERTY_PKG_NAME),
array('p_liberty_attach_attachments', 'Can create content attachments', 'registered', LIBERTY_PKG_NAME),
array('p_liberty_detach_attachment', 'Can detach content attachments', 'registered', LIBERTY_PKG_NAME),
+ array('p_liberty_delete_attachment', 'Can delete content attachments', 'registered', LIBERTY_PKG_NAME),
array('p_liberty_print', 'Can print content', 'basic', LIBERTY_PKG_NAME),
array('p_liberty_enter_html', 'Can enter HTML', 'registered', LIBERTY_PKG_NAME),
array('p_liberty_edit_content_status', 'Can edit the status of content', 'registered', LIBERTY_PKG_NAME),