Skip to content
This repository has been archived by the owner on Jun 7, 2023. It is now read-only.

SUS-2120: Undeleting does not imply editing #13393

Merged
merged 2 commits into from
Jul 25, 2017
Merged

SUS-2120: Undeleting does not imply editing #13393

merged 2 commits into from
Jul 25, 2017

Conversation

mszabo-wikia
Copy link
Contributor

@mszabo-wikia mszabo-wikia commented Jul 24, 2017

These lines were added during last Core MW security backport. This assumption is not true with many of our features such as blogs, comments, Wall etc. I'm removing it so undeleting works properly.

https://wikia-inc.atlassian.net/browse/SUS-2120

@mszabo-wikia mszabo-wikia requested review from a user, Grunny, rybmat and macbre July 24, 2017 09:18
Copy link
Member

@Grunny Grunny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, I don't think we have many valid cases where someone can undelete a page they can't edit, but shouldn't be able to undelete it. Technically in the case of blogs, comments, and Wall, nearly all users who can undelete can also edit the comment pages, they just rely on a different edit permission, right?

We can also probably remove the two i18n messages that were added with this.

@ludwikkazmierczak
Copy link
Contributor

Tested and Accpeted

@ludwikkazmierczak ludwikkazmierczak merged commit 73bf8a5 into dev Jul 25, 2017
@ludwikkazmierczak ludwikkazmierczak deleted the SUS-2120 branch July 25, 2017 14:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants