mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-16 18:58:45 +00:00
54060a3cc4
When a user is blocked, only present the "locked" page edit link. Omit the section edit links entirely. The logic for checking user permissions already existed in ToolbarBuilder. Move this logic to MinervaPagePermissions and add a new "EDIT_OR_CREATE" action distinct from IMinervaPagePermissions::EDIT. These names will be revisited in a following patch. Bug: T206265 Change-Id: Ia43a670a259cabc313c004fe06c91e078bd41562 |
||
---|---|---|
.. | ||
MinervaPagePermissionsTest.php |