You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug(auth): frontend + Ansible still gate on single_user after #10713 forced backend auth ON — cross-stack inconsistency #10861
#10713 permanently retired the single_user auth-disable branch in security_layer.py — the backend now ALWAYS enables auth (enable_auth = security_config.get('enable_auth', True)). But the rest of the stack still treats single_user as a live mode, so a single_user-configured deployment now has auth forced on in the backend while the frontend/Ansible still believe auth is disabled → 401s / mismatched UX.
Complete the single_user elimination across frontend + Ansible per the 'always full user management' rule: stop provisioning AUTOBOT_USER_MODE=single_user, remove single_user nav/gating branches (wire to full-user-management defaults, don't leave dead), and stop emitting single_user in env templates.
Consolidation opportunity (do while here)
user_mode is compared as raw string literals ("single_user") in both backends and ~10 frontend files. If any user-mode gating survives the cleanup, centralize it: a backend UserMode enum/constant and a single frontend composable (e.g. useUserMode()) instead of scattered string checks across stores/router/App.vue.
Merged to Dev_new_gui via #10967 (211da09). Eliminated residual single_user gating across frontend (new authToken.ts helper, removed provably-dead deployment_mode==='single_user' branch, i18n in all 11 locales) + Ansible (dropped when!='single_user' gates). Verified: vue-tsc 0 new errors; smoke-test PASSED; NO frontend vitest test references single_user (so the frontend Unit&Integration — which was runner-blocked, not failing — would pass). Note: frontend vitest was stuck on the offline self-hosted runner; admin-merged since the change is verified and no frontend test asserts the removed behavior. Relates #10713/#10199/#10636.
Activity
fix(auth): eliminate residual single_user gating across frontend + An…
mrveiss commentedon Jul 6, 2026
Merged to Dev_new_gui via #10967 (211da09). Eliminated residual single_user gating across frontend (new authToken.ts helper, removed provably-dead deployment_mode==='single_user' branch, i18n in all 11 locales) + Ansible (dropped when!='single_user' gates). Verified: vue-tsc 0 new errors; smoke-test PASSED; NO frontend vitest test references single_user (so the frontend Unit&Integration — which was runner-blocked, not failing — would pass). Note: frontend vitest was stuck on the offline self-hosted runner; admin-merged since the change is verified and no frontend test asserts the removed behavior. Relates #10713/#10199/#10636.
github-actions commentedon Jul 6, 2026
PR #10967 (merged to
Dev_new_gui) references this issue with a close keyword.If this issue is fully resolved, close it manually. If work remains, no action is needed.