Im using the Authenticate and Authorize plugins however im having issues using permissions on my controller.
Im looking at having a management dashboard that will not have its own model but instead call other models when i need them. I cant work out how to use a Policy to set permissions on each function. For example i would like every user level except for “user” to access “index” but only “root” user to be able to access “siteSettings”.
Thank you for your help in advance