Page MenuHomePhabricator

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

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.
daniel lowered the priority of this task from High to Medium.

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.Feb 25 2021, 2:12 PM
daniel raised the priority of this task from Medium to High.Mar 10 2021, 6:24 PM

@daniel: Per emails from Sep18 and Oct20 and https://www.mediawiki.org/wiki/Bug_management/Assignee_cleanup , I am resetting the assignee of this task because there has not been progress lately (please correct me if I am wrong!). Resetting the assignee avoids the impression that somebody is already working on this task. It also allows others to potentially work towards fixing this task. Please claim this task again when you plan to work on it (via Add Action...Assign / Claim in the dropdown menu) - it would be welcome. Thanks for your understanding!

Change #657390 abandoned by Daniel Kinzler:

[mediawiki/core@master] EXPERIMENT: prohibit permission checks against special pages

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

Change #657400 abandoned by Daniel Kinzler:

[mediawiki/core@master] EXPERIMENT: Define PageLocation

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