Page MenuHomePhabricator

Protection does not function on newsletters
Closed, ResolvedPublic

Description

If a newsletter is protected, and someone who has the ability to manage newsletters but cannot edit through the protection tries edit it, they can still make changes, which are then sumbitted without creating a new revision in the history.

Event Timeline

QuimGil moved this task from Backlog to Needs discussion on the MediaWiki-extensions-Newsletter board.
QuimGil subscribed.

I wonder whether this problem can still be reproduced.

About the use case itself, the basic way to protect a user from making changes to a newsletter is not to allow them to have the publisher role. Trying to protect a newsletter from their publishers seems a wrong approach by design.

Or am I misunderstanding something?

The solution in that case is to make it impossible to protect newsletters in the first place, whereas it currently is possible to protect them, without effect.

Change 371743 had a related patch set uploaded (by Pppery; owner: Brian Wolff):
[mediawiki/extensions/Newsletter@master] Fix error handling and abuse filter integration during edit

https://gerrit.wikimedia.org/r/371743

Still an issue, and still plan to work on this someday if no one else does so.

Change 446642 had a related patch set uploaded (by Pppery; author: Pppery):

[mediawiki/extensions/Newsletter@master] Fix error handling and abuse filter integration during edit

https://gerrit.wikimedia.org/r/446642

Change 446642 merged by jenkins-bot:

[mediawiki/extensions/Newsletter@master] Fix error handling and abuse filter integration during edit

https://gerrit.wikimedia.org/r/446642

Change 371743 abandoned by Majavah:

[mediawiki/extensions/Newsletter@master] Fix error handling and abuse filter integration during edit

Reason:

https://gerrit.wikimedia.org/r/371743