Changed spam detection to work on a permissions basis