mediawiki-skins-MinervaNeue/includes/permissions
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
..
IMinervaPagePermissions.php [edit] [UI] hide edit section links for blocked users 2019-09-03 22:29:43 +02:00
MinervaNoPagePermissions.php Hygiene: Extract isAllowedPageAction into MinervaPagePermissions 2019-06-21 15:30:11 +00:00
MinervaPagePermissions.php [edit] [UI] hide edit section links for blocked users 2019-09-03 22:29:43 +02:00