feat(auth): добавить приложение fw для EvoFirewall
Build and Push Auth Portal Docker Image / build-and-push (push) Failing after 1m15s
Build and Push Auth Portal Docker Image / create-release (push) Skipped

Каталог permissions fw:*, app switcher и docs; убран bgp:firewall после cutover.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Denozordec
2026-07-20 19:50:54 +07:00
co-authored by Cursor
parent 143db3d72e
commit 9b4c7b8b9d
5 changed files with 50 additions and 6 deletions
+26
View File
@@ -0,0 +1,26 @@
# Интеграция auth-portal ↔ EvoFirewall
App id: **`fw`**.
Единый вход: JWT HS256 (общий `JWT_SECRET`), handoff через `#access_token=…`.
## Permissions
| Permission | UI |
|------------|-----|
| `fw:dashboard:read` | Dashboard |
| `fw:agents:read` / `write` | Agents |
| `fw:lists:read` / `write` | IP lists |
| `fw:policies:read` / `write` | Rules / overrides |
| `fw:stats:read` | Stats |
| `fw:settings:admin` | Settings |
## Portal checklist
1. `APP_IDS` включает `fw` (сделано)
2. Admin → Apps: URL EvoFirewall + выдача прав
3. `RETURN_TO_ALLOWLIST` — origin FW
## App env
См. EvoFirewall `docs/integrate-auth-portal.md`.