can now tell if a user is allowed to delete a picture