Skip to content

Properly authorize copy_list action#1908

Merged
ikedas merged 1 commit intosympa-community:mainfrom
cgx:fix-copy-auth
Mar 21, 2026
Merged

Properly authorize copy_list action#1908
ikedas merged 1 commit intosympa-community:mainfrom
cgx:fix-copy-auth

Conversation

@cgx
Copy link
Copy Markdown
Contributor

@cgx cgx commented Nov 5, 2024

When creating a list from an existing list, the required privileges for the copy_list action are not properly tested. Since copy_list is remapped to the move_list action, it incorrectly inherits its required privileges.

copy_list is supposed to be permitted to listmasters and list owners while move_list is limited to privileged owners. Without the proposed patch, both actions required the user to be a privileged owner of the existing list.

@ikedas ikedas added this to the 6.2.78 milestone Mar 21, 2026
@ikedas ikedas added the bug label Mar 21, 2026
ikedas added a commit that referenced this pull request Mar 21, 2026
… & ikedas

Properly authorize copy_list action
@ikedas ikedas merged commit 1ed0dbe into sympa-community:main Mar 21, 2026
@ikedas
Copy link
Copy Markdown
Member

ikedas commented Mar 21, 2026

Now your fix has been included into the Sympa. Thank you for fixing bug!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants