Remove unneeded permission.