Translations:Manual:$wgGroupPermissions/9/en

In other words, If one of the user's groups has a right, then it is not possible to take the right away using $wgGroupPermissions. Instead use $RevokePermissions to revoke permissions.