fix(security): reapply API authorization hardening - #158
Open
JnyRoad wants to merge 1 commit into
Open
Conversation
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.
Summary
Validation
smart:mvn -q -DskipTests clean install -Dmaven.repo.local=...passed after installing the matching currentsmart-platform-apiartifact.smart-module:mvn -q -DskipTests clean compile -Dmaven.repo.local=...passed.smart-h5:pnpm checkandpnpm testpassed (60 files, 273 tests).smart-ui:pnpm testpassed (79 files, 398 tests).smart-app-uniapp: password challenge race and leave current-park contract scripts passed.scripts/security: 2 Node tests passed.Known validation limits
smart-h5production build requiresNEXT_PUBLIC_SECURITY_ENCODE_KEY, which is not available in this isolated checkout.smart-uilint has one pre-existing error atsrc/views/admin/social/index.vue:169plus existing warnings; that file is not changed by this PR.Risks
This reintroduces a broad security change across service routes, clients, Nacos templates, and legacy DoorLock compatibility. Recheck runtime configuration and complete integrated testing before merging.