|
|
@@ -773,6 +773,14 @@ INSERT INTO `sys_acl_actions` (`Module`, `Name`, `AdditionalParamName`, `Title`,
|
|
|
('system', 'comments remove all', NULL, '_sys_acl_action_comments_remove_all', '', 1, 3);
|
|
|
SET @iIdActionCmtRemoveAll = LAST_INSERT_ID();
|
|
|
|
|
|
+INSERT INTO `sys_acl_actions` (`Module`, `Name`, `AdditionalParamName`, `Title`, `Desc`, `Countable`, `DisabledForLevels`) VALUES
|
|
|
+('system', 'comments remove in own content', NULL, '_sys_acl_action_comments_remove_in_own_content', '', 1, 3);
|
|
|
+SET @iIdActionCmtRemoveInOwnContent = LAST_INSERT_ID();
|
|
|
+
|
|
|
+INSERT INTO `sys_acl_actions` (`Module`, `Name`, `AdditionalParamName`, `Title`, `Desc`, `Countable`, `DisabledForLevels`) VALUES
|
|
|
+('system', 'comments remove in group context', NULL, '_sys_acl_action_comments_remove_in_group_context', '', 1, 3);
|
|
|
+SET @iIdActionCmtRemoveInGroupContext = LAST_INSERT_ID();
|
|
|
+
|
|
|
INSERT INTO `sys_acl_actions` (`Module`, `Name`, `AdditionalParamName`, `Title`, `Desc`, `Countable`, `DisabledForLevels`) VALUES
|
|
|
('system', 'comments pin', NULL, '_sys_acl_action_comments_pin', '', 1, 3);
|
|
|
SET @iIdActionCmtPin = LAST_INSERT_ID();
|
|
|
@@ -983,6 +991,14 @@ INSERT INTO `sys_acl_matrix` (`IDLevel`, `IDAction`) VALUES
|
|
|
(@iModerator, @iIdActionCmtRemoveAll),
|
|
|
(@iAdministrator, @iIdActionCmtRemoveAll),
|
|
|
|
|
|
+-- comments remove in own content
|
|
|
+(@iModerator, @iIdActionCmtRemoveInOwnContent),
|
|
|
+(@iAdministrator, @iIdActionCmtRemoveInOwnContent),
|
|
|
+
|
|
|
+-- comments remove in group context
|
|
|
+(@iModerator, @iIdActionCmtRemoveInGroupContext),
|
|
|
+(@iAdministrator, @iIdActionCmtRemoveInGroupContext),
|
|
|
+
|
|
|
-- comments pin
|
|
|
(@iModerator, @iIdActionCmtPin),
|
|
|
(@iAdministrator, @iIdActionCmtPin),
|