saaster
saaster copied to clipboard
refactor access handling/permissions in Application.cfc
in the application.cfc is the function onrequest().
- [ ] the onRequest function should be lighter -> pack the access logic into a separate component / function to use it anywhere(a button for example which only see admins).
- [ ] change the noaccess and the no_access variable to access(positive condition)