From c76f3ae859c063f2825dbdf135e35953413801cb Mon Sep 17 00:00:00 2001 From: "Stefan Hornburg (Racke)" Date: Tue, 18 Feb 2020 16:45:29 +0100 Subject: [PATCH] Skip edit for shared document options when disabled (#872) --- src/cgi/wwsympa.fcgi.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/cgi/wwsympa.fcgi.in b/src/cgi/wwsympa.fcgi.in index 087fbc4c3..9b1ddd936 100644 --- a/src/cgi/wwsympa.fcgi.in +++ b/src/cgi/wwsympa.fcgi.in @@ -10807,7 +10807,9 @@ sub do_edit_list_request { # Skip parameters belonging to another group. if ( $_ eq 'comment' or $_ eq 'defaults' - or $schema->{$_}->{group} ne $in{'group'}) { + or $schema->{$_}->{group} ne $in{'group'} + or ($_ eq 'shared_doc' and Conf::get_robot_conf($robot, 'shared_feature') eq 'off') + ) { (); } else { my @p = _do_edit_list_request($config, $schema->{$_}, [$_]); -- GitLab