Simplify check permission