if_permitted and permitted? refactored into single method