Use prettier permission logic coding
Add in some commented out lines for reference only