Skip to content

Gate admin dashboard with shared portal password#579

Open
ethgr0wth wants to merge 1 commit intobountyfrom
codex/develop-node-operator-rewards-portal-lup462
Open

Gate admin dashboard with shared portal password#579
ethgr0wth wants to merge 1 commit intobountyfrom
codex/develop-node-operator-rewards-portal-lup462

Conversation

@ethgr0wth
Copy link

Summary

  • add a configurable PORTAL_ADMIN_PORTAL_PASSWORD setting and enforce the shared key on every admin API route
  • gate the admin dashboard in the frontend behind an unlock form that stores the password client-side and forwards it with each admin request
  • document the new password requirement and extend automated tests to cover the admin access dependency

Testing

  • PYENV_VERSION=3.11.12 python -m pytest ambassadors/node-operator-rewards-portal/backend/tests/test_rewards.py

https://chatgpt.com/codex/tasks/task_e_68f195a2ef54833387184a412e589db3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant