PermissionManager should not cache anonymous rights under ID 0
authorPetr Pchelko <ppchelko@wikimedia.org>
Tue, 20 Aug 2019 20:59:49 +0000 (13:59 -0700)
committerPetr Pchelko <ppchelko@wikimedia.org>
Wed, 28 Aug 2019 16:47:31 +0000 (09:47 -0700)
commite3ac564e2d05d747aa80dc3c8db9f8c79ef0ebbb
tree6ada0092319b2f24707f521e536d7a873d96ac83
parentbc8f63e754f92dbd496651295dafeaa82ee6e28b
PermissionManager should not cache anonymous rights under ID 0

Bug: T228253
Change-Id: I8a54830842f220ff1ac4402a3380c2229a99b619
includes/Permissions/PermissionManager.php
tests/phpunit/includes/Permissions/PermissionManagerTest.php
tests/phpunit/includes/user/UserTest.php