refactor access handling/permissions in Application.cfc
Opened this issue · 0 comments
phBucher0 commented
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)