Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
sympa
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mr. Evoltech
sympa
Commits
736a7052
Commit
736a7052
authored
12 years ago
by
kclair
Browse files
Options
Downloads
Patches
Plain Diff
patch file for the rename list fix
parent
4e277c8e
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
6.1.9/patches/09_fix_rename_lists_no_pending.patch
+43
-0
43 additions, 0 deletions
6.1.9/patches/09_fix_rename_lists_no_pending.patch
with
43 additions
and
0 deletions
6.1.9/patches/09_fix_rename_lists_no_pending.patch
0 → 100644
+
43
−
0
View file @
736a7052
diff --git a/sympa-6.1.9-src/src/lib/admin.pm b/sympa-6.1.9-src/src/lib/admin.pm
index 1397fa3..b9460f3 100644
--- a/sympa-6.1.9-src/src/lib/admin.pm
+++ b/sympa-6.1.9-src/src/lib/admin.pm
@@ -778,16 +778,16 @@
sub rename_list{
}
# set list status to pending if creation list is moderated
- if ($r_action =~ /listmaster/) {
- $list->{'admin'}{'status'} = 'pending' ;
- &List::send_notify_to_listmaster('request_list_renaming',$list->{'domain'},
- {'list' => $list,
- 'new_listname' => $param{'new_listname'},
- 'old_listname' => $old_listname,
- 'email' => $param{'user_email'},
- 'mode' => $param{'mode'}});
- $param{'status'} = 'pending';
- }
+# if ($r_action =~ /listmaster/) {
+# $list->{'admin'}{'status'} = 'pending' ;
+# &List::send_notify_to_listmaster('request_list_renaming',$list->{'domain'},
+# {'list' => $list,
+# 'new_listname' => $param{'new_listname'},
+# 'old_listname' => $old_listname,
+# 'email' => $param{'user_email'},
+# 'mode' => $param{'mode'}});
+# $param{'status'} = 'pending';
+# }
## Save config file for the new() later to reload it
$list->save_config($param{'user_email'});
diff --git a/sympa-6.1.9-src/wwsympa/wwsympa.fcgi.in b/sympa-6.1.9-src/wwsympa/wwsympa.fcgi.in
index b47a9e8..a8fb952 100644
--- a/sympa-6.1.9-src/wwsympa/wwsympa.fcgi.in
+++ b/sympa-6.1.9-src/wwsympa/wwsympa.fcgi.in
@@ -10259,6 +10259,7 @@
sub do_rename_list {
remote_addr => $param->{'remote_addr'},
aliases => $param->{'aliases'},
status => $param->{'status'},
+ skip_authz => 1,
);
if ($result eq 'incorrect_listname') {
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment