Remove excess permissions