Patrolmarks permission is enough to request patrol information, as it's coded
in useRCPatrol() and useNPPatrol().
Change-Id: I4115bdbbcaf6764d71784efe2d8ac63cc77ce770
) {
if ( !$user->useRCPatrol() && !$user->useNPPatrol() ) {
$this->dieUsage(
- 'You need the patrol right to request the patrolled flag',
+ 'You need patrol or patrolmarks permission to request the patrolled flag',
'permissiondenied'
);
}
if ( $this->fld_patrolled && !$user->useRCPatrol() && !$user->useNPPatrol() ) {
$this->dieUsage(
- 'You need the patrol right to request the patrolled flag',
+ 'You need patrol or patrolmarks permission to request the patrolled flag',
'permissiondenied'
);
}