Index: trunk/extensions/Resign/SpecialResign.php |
— | — | @@ -19,8 +19,10 @@ |
20 | 20 | ); |
21 | 21 | |
22 | 22 | # Add resign permission for every group set in the database |
23 | | -foreach( User::getAllGroups() as $group ) { |
24 | | - $wgGroupPermissions[$group]['resign'] = true; |
| 23 | +foreach( $wgGroupPermissions as $key => $value ) { |
| 24 | + if( !in_array( $key, $wgImplicitGroups ) ) { |
| 25 | + $wgGroupPermissions[$key]['resign'] = true; |
| 26 | + } |
25 | 27 | } |
26 | 28 | |
27 | 29 | # Add log action |