mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #2063] [Issue]: Admin Access should migrate the legacy browser secret key #1009
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#1009
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Promansis on GitHub (Jun 3, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/2063
Originally assigned to: @cha1latte on GitHub.
Summary
Refactor Remote Runtime Admin Access uses a different browser localStorage key than legacy
main, with no migration or intentional divergence found in the Target 3 web-shell UI scan. Users who previously saved an Admin Access secret under the legacy key may have to re-enter it before privileged remote actions work.Expected behavior
If the Admin Access setting is intended to preserve the legacy browser-stored user outcome, refactor should read or migrate the legacy
marinara_admin_secretvalue to the refactor key, or document the key change as an intentional reset.Actual behavior
Legacy
mainstored Admin Access undermarinara_admin_secretinpackages/client/src/lib/api-client.ts. Refactor Settings and remote invocation read/writemarinara-admin-secretinsrc/features/shell/settings/components/SettingsPanel.tsxandsrc/shared/api/remote-runtime.ts. No migration or documented intentional divergence was found during this slice.Steps to reproduce
ADMIN_SECRET.Impact area
Environment
refactorduring Target 3 parityscan on 2026-06-04Logs, screenshots, or video
No live browser repro was run. Static parity evidence:
packages/client/src/lib/api-client.tsusesmarinara_admin_secret.src/features/shell/settings/components/SettingsPanel.tsxandsrc/shared/api/remote-runtime.tsusemarinara-admin-secret.cargo test --manifest-path src-tauri/Cargo.toml hostable_security_requires_admin_access_for_remote_backup_listpassed.Regression notes
Legacy
mainsupported browser-local Admin Access storage for privileged server operations. Refactor preserves the concept but changes the key name. The desired product behavior needs a small decision: migrate/read the old key, or document/reset intentionally.Related tracker: #2050.
Additional context
This is lower severity than the new-chat readiness gate because users can manually re-enter the secret. It still matters for remote parity because failed privileged actions can look like bad credentials even when the user had already configured Admin Access in legacy.
Template check
Please uncheck the box below before submitting so we know you read the template. It is intentionally pre-checked: