Page MenuHomePhabricator

Implement private wiki read permission in a way that works with Authority
Open, MediumPublic

Description

Authority performs checks against PageIdentities, which will at some point no longer be able to represent SpecialPages. For nearly all permissions this works, but we still need a way to check the 'read' permission for special pages:

On private wikis, a few special pages are whitelisted, so they can be accessed without being logged in. Since these special pages cannot be represented as PageIdentities, we need another way to check them.

Event Timeline

daniel triaged this task as High priority.Jan 20 2021, 6:20 PM
daniel lowered the priority of this task from High to Medium.
daniel created this task.

Change 657390 had a related patch set uploaded (by Daniel Kinzler; owner: Daniel Kinzler):
[mediawiki/core@master] EXPERIMENT: prohibit permission checks against special pages

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

Change 657400 had a related patch set uploaded (by Daniel Kinzler; owner: Daniel Kinzler):
[mediawiki/core@master] EXPERIMENT: Define PageLocation

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

Pchelolo raised the priority of this task from Medium to High.
daniel lowered the priority of this task from High to Medium.Thu, Feb 25, 2:12 PM