Skip to content

Conversation

@wrongecho
Copy link
Collaborator

  • Split into admin and user handlers, each admin page gets its own file now
  • Enforce role access once for admin POST requests
  • Automatically load POST logic for admin-based requests based on the referring page, otherwise automatically load all user request logic
  • Add support for using custom POST handlers

- Split into admin and user handlers, each admin page gets its own file now
- Enforce role access once for admin POST requests
- Automatically load POST logic for admin-based requests based on the referring page, otherwise automatically load all user request logic
- Add support for using custom POST handlers
@wrongecho
Copy link
Collaborator Author

Test these changes at: https://moreperms1074.pr-review.itflow.org
(automatic message)

- Split into admin and user handlers, each admin page gets its own file now
- Enforce role access once for admin POST requests
- Automatically load POST logic for admin-based requests based on the referring page, otherwise automatically load all user request logic
- Add support for using custom POST handlers
@sonarqubecloud
Copy link

@johnnyq
Copy link
Collaborator

johnnyq commented Sep 29, 2024

Nice Work!! @wrongecho

@johnnyq johnnyq merged commit 13d9d01 into master Sep 29, 2024
2 checks passed
@wrongecho wrongecho deleted the more-perms branch December 17, 2024 12:51
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

Successfully merging this pull request may close these issues.

3 participants