Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor access handling/permissions in Application.cfc #474

Open
2 tasks
phBucher0 opened this issue Jun 7, 2024 · 0 comments
Open
2 tasks

refactor access handling/permissions in Application.cfc #474

phBucher0 opened this issue Jun 7, 2024 · 0 comments

Comments

@phBucher0
Copy link

phBucher0 commented Jun 7, 2024

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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant