fix allowed permissions in example