From 5a9afa5379ba9c959dabeb763c33794fa3f8e1ac Mon Sep 17 00:00:00 2001 From: Nick Palmer Date: Wed, 20 Jun 2007 23:17:02 +0000 Subject: 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. --- admin/schema_inc.php | 1 + 1 file changed, 1 insertion(+) (limited to 'admin/schema_inc.php') 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), -- cgit v1.3