feat(admin): is_admin gate + hash routing + proxy passthroughs #44
No reviewers
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_collab!44
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "development_admin_foundation"
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?
Summary
PR1 of 3 for the collab admin panel. Foundation only:
is_admingate, hash-route deep links,require_admin!macro, and proxy passthrough scaffolding for roles / claims / org-groups / impersonation / ops. Live methods talk to hero_proxy viahero_proxy_sdk; PR2/PR3 surfaces ship as documented stubs returningMethodNotFound.Related Issue
#43
Changes
is_admintouser.meand User schemarequire_admin!macro; proxy-mode denies anonymous callsparse_hash_route()for#/admin/<page>deep links + back-to-chat affordanceTest Results
cargo checkclean; 121/125 unit tests pass (4 pre-existing flakes); 5/5 Playwright + curl deny-path assertions pass.ab850cbc76to1d606508eaWIP: feat(admin): is_admin gate + hash routing + proxy passthroughsto feat(admin): is_admin gate + hash routing + proxy passthroughs1d606508eato0f0ba0870f