Remove unnecessary permissions