mediawiki-skins-MinervaNeue/tests/phpunit
Stephen Niedzielski 54060a3cc4 [edit] [UI] hide edit section links for blocked users
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
2019-09-03 22:29:43 +02:00
..
menu Move unit test into "unit" directory 2019-07-09 10:14:36 -04:00
permissions [edit] [UI] hide edit section links for blocked users 2019-09-03 22:29:43 +02:00
skins Feature flag overhaul 2019-08-23 10:48:14 -07:00
unit Merge "Track all menu interactions" 2019-08-27 10:01:47 +00:00