If a user does not have permission to view a log type, throw a PermissionsError
authorKunal Mehta <legoktm@gmail.com>
Fri, 19 Jul 2013 04:14:51 +0000 (21:14 -0700)
committerKunal Mehta <legoktm@gmail.com>
Thu, 25 Jul 2013 09:50:52 +0000 (02:50 -0700)
commit1b3dea0a644a68ae7f3eafe5452eb2eb994645eb
tree5ec216a6740b0830d9d16fad81d3cfb681aa6566
parent797d5f19c48447c13bec3dc181f3b64423872253
If a user does not have permission to view a log type, throw a PermissionsError

Currently if you view a private log like [[Special:Log/suppress]] and do not
have the right permission, you just see [[Special:Log]]. Now it will
throw a PermissionsError which states the user does not have the right permission.

Bug: 17881
Change-Id: I15486a1cc227a4900ab7cd38d7f0cc7eb685195a
includes/specials/SpecialLog.php