Add permission setting to example code in README