entrust
entrust copied to clipboard
What would be correct way to create middleware for dynamically created roles/permissions?
Hello,
Thank you and congratulations for this awesome package.
I want to know if there is any way I can define middleware based on roles and permissions and for every creation of new permissions and roles, may be it will be not possible as how the app will know what to protect for which role and permission?
But, still I would like to know your thoughts and view on it, Sorry for creating an issue, if there is a better platform for this discussion I don;t know.