Commit Graph

4 Commits

Author SHA1 Message Date
f9d304484e MSIN-4465 — Refactor report access functions to support V2 permissions and enhance legacy menu handling. Update SQL queries for better data retrieval and add comments for clarity. Increment version code. 2026-07-20 14:54:24 -04:00
c7482016ce Implement superadmin login redirection and session handling improvements
This commit introduces a new function, `fxSuperadmRedirectToLoginIfNeeded`, to streamline the login redirection process for superadmin users. It enhances session management by checking for user authentication and allowing legacy account access under specific conditions. Additionally, the login flow is updated to ensure users are redirected appropriately after login, improving the overall security and user experience in the superadmin interface. These changes aim to enhance maintainability and clarity in session handling across various superadmin pages.
2026-07-07 14:15:48 -04:00
93cb9f5e81 Refactor authentication logic in superadmin interface and streamline session handling
This commit updates the authentication process in `index.php` and `rapport_new.php` by introducing new functions for checking user permissions, specifically `fxSuperadmIsLoggedIn` and `fxSuperadmReportsAllowed`. The session handling is simplified, removing redundant checks and enhancing clarity. Additionally, the memory limit setting in `rapport_new.php` is adjusted for consistency. These changes aim to improve the security and maintainability of the superadmin interface.
2026-07-06 19:47:51 -04:00
5842222283 Initial clean V5 repository 2026-05-13 09:43:32 -04:00