Commit Graph

6 Commits

Author SHA1 Message Date
b3a1b1f38e PEP-226: кнопка «Сделать суперадмином» / «Снять суперадмина» на странице «Пользователи»
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 20:56:28 +05:00
75a3deda21 PEP-204: суперадмин объединяет учётки одного человека
Экран «Объединить учётки» с подтверждением, подсказки на «Пользователях»,
защита (сама с собой, разные ИИН, суперадмин — отдельная отметка),
журнал users_merged и одно сообщение владельцу.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 22:45:44 +05:00
Асель
1f16286dca PEP-98: English for web, bot, notifications and runner messages; product name «Peppa FACTORY» everywhere
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 14:47:50 +05:00
Асель
3159e888d2 PEP-90: sign in and register with Google (OAuth code + PKCE), link with eGov in Settings
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-15 12:40:26 +05:00
Асель
57d7857d94 PEP-71: login only through eGov, unknown IIN registers an account
Gitea and password login are gone from the web; the first eGov login creates a
Peppa account (login from the certificate name). Projects of self-registered
owners run agents only on a subscription pool, never on the machine login.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 17:57:02 +05:00
Асель
414e4500e4 PEP-68: local users without Gitea — password login, superadmin management
- users.password_hash/password_set_at/disabled_at (migration 0002_local_users)
- core/local-users.ts: scrypt, passwordLogin with attempt limits, create/reset/disable
- isSuperadmin(db, user) = platform.admins; isUserAllowed honours disabled_at
- web: /auth/password + login form, /users for superadmins, Settings → password
- Gitea login with a local user's login is refused (giteaLoginRefusal)
- local users: projects in peppa-bot namespace, members without Gitea collaboration
- CLI: peppa user add|passwd|disable|enable; tests in testkit

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 03:20:21 +05:00