Repository navigation
fix: minor review findings (tool file checks, config_arrays repair) - #81
Merged
Merged
Conversation
…user Core fires config_arrays before include/auth.php checks the session, so an anonymous request to a plugin page could start the schema migration and template import. Leave them to the next request that carries a user. Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>
A tool inside a compliant directory that was not root-owned, was writable by group or others, or was set-ID only raised a health warning, and the sweep still ran it. Treat each as a refusal, like the directory checks (ADR 0009). Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 59 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Both items of the minor findings checklist.
fabric_config_arraysrepairs the install (migration, template import) only when$_SESSION['sess_user_id']is set, since core fires the hook before auth.php checks the session. Anonymous requests leave it to the next page load.Verification: Pest unit suite 201 passed (php:8.2-cli), with new tests for the tool checks and the session gate;
locales/build_gettext.sh --checkpasses. Lifecycle, PHPStan and e2e run in CI only.Risk: a root-run sweep with a tool owned by another account now stops until the owner is fixed. The other open PR also edits the catalogs; rerun
sh locales/build_gettext.shon conflict.Fixes #79