mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-30 17:04:28 +00:00
e9e3095a10
Move away from User, and use Authority instead. The only exception is isBlockedFrom, which still requires a User object, so inject a UserFactory for that. Simplify the test accordingly, and also remove implicit assumptions as to what certain user groups are or aren't allowed to do (e.g., watch pages). Also avoid using TestUser as it needs a DB connection. Change-Id: Idfff8fd00f7b01df1dc6ec509dfc0cbd10ce7ce0 |
||
---|---|---|
.. | ||
IMinervaPagePermissions.php | ||
MinervaPagePermissions.php |