feat(i7): async webhook delivery queue, OPS RBAC, UI role routing; docs and runbook

- Architect: I7_DESIGN.md, I7_IMPLEMENTATION_REVIEW.md; parallel index + track B
- Backend: @EnableMethodSecurity; OPS login; CallbackInbox PreAuthorize; IntegrationCatalog triple role
- Webhook: V2 webhook_platform_delivery; planner + scheduler + single-shot forwarder; tests
- Frontend: Pinia hasAnyRole; MainLayout/HomeView/router for OPS vs dev
- Runbook §10.5 delivery config

Made-with: Cursor
This commit is contained in:
2026-04-06 23:01:10 +08:00
parent ce49fe143c
commit 5fe7181b35
33 changed files with 936 additions and 200 deletions
@@ -9,6 +9,15 @@ export const useAuthStore = defineStore("auth", {
displayName: "",
roles: [],
}),
getters: {
hasAnyRole: (state) => {
return (roleList) => {
const need = roleList || [];
const have = state.roles || [];
return need.some((r) => have.includes(r));
};
},
},
actions: {
async login(username, password) {
const { data } = await axios.post("/api/v1/auth/login", { username, password });