mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-12-01 04:40:45 +09:00
* Address code review follow-ups from admin groups/permissions rework (#3821) - Default staff listing to excluding the internal cron account unless explicitly overridden, restoring the safe default while keeping the caller-controlled toggle added in #3821. - Remove the now-unreachable `permissions.default.all` wildcard branch in Staff::hasPermission(); no group permission UI/API can set it since permissions moved to groups. - Narrow the broad `catch (\Throwable)` around the pre-migration Super Administrator fallback check in System\Api\Admin::checkUpdateFinalizationPermissions() to Doctrine\DBAL\Exception, so unrelated failures aren't silently diverted into the legacy-role compatibility path. * Generate content.sql seed timestamps at install time instead of hardcoding a date #3821 bumped every created_at/updated_at literal in content.sql to a fixed date, which just goes stale again and needs another manual bump later. Replace the hardcoded '2026-06-25 12:00:00' literals with NOW() so seed rows get the actual install time, for both the web installer (which runs these statements individually via PDO) and manual imports of content.sql per the instructions in config-sample.php. Verified structure.sql + content.sql import cleanly into a throwaway MariaDB container and NOW() resolves to real timestamps.