auth: тестовый аккаунт buyer1 (pilot) для потенциального покупателя #3325
No reviewers
Labels
No labels
Fable 5 ревью
GG-форсайт
admin
analytics
auth
automation
bug
business
chore
ci
compliance
data
data-moat
docs
duplicate
dx
enhancement
feedback/max
generative
needs-discussion
needs-human
observability
pause-bots
performance
priority/p0
priority/p1
priority/p2
priority/p3
scope/backend
scope/db
scope/devops
scope/frontend
scope/qa
scrapers
security
site-finder
stage/1
stage/2
status/blocked
status/done
status/needs-analysis
status/needs-fix
status/qa
status/ready
status/review
status/wip
tech-debt
tradein
ux
week ревью 1
wontfix
ИРД
вторичка
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lekss361/gendesign#3325
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "feat/buyer1-trial-account"
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?
По просьбе владельца 02.09. Строка
buyer1: pilotв roles.yaml.Полный аккаунт = эта строка + DB-юзер (bcrypt, роль manager по образцу praktika/kopylov) +
account_quota_overrides.monthly_limit=50(дефолт 15). DB-часть завожу напрямую тем же трактом, что живые 13.Строка YAML обязательна не только для RouteGuard: без неё session-юзер ловит 403 на чтение своей оценки (
get_role→ KeyError, #3316).После мержа: деплой ПТИЦЫ обновит
/opt/gendesign/auth/roles.yaml(git reset --hard), затемdocker restart tradein-backend—_load_roles_configкэширован на весь процесс (lru_cache), без рестарта файл не перечитается. Приёмка — живой логин снаружи:/login→ кука →/meдаёт role=pilot, квота 50.