mjalmoudy94
5095a29df9
feat(org): platform invites, roles, org sharing (v2 phase A1-1)
- New platform_invites table (migration a1b2c3d4e5f1) + PlatformInviteRow
- Owner-only endpoints in admin_users.py: issue/list/revoke platform invites
- invites.py: two-kind resolution (org + platform), email-supplied accept path
- auth.py /me gains needs_onboarding (manager, 0 orgs, not owner)
- organizations.py: transfer-ownership, leave (last owner guard), list/revoke org invites
- contracts + web UI: admin/users invite modal, accept-invite platform variant, onboarding gating
- Tests: test_org_platform_invites.py (18), org-sharing.test.tsx; report under docs/plan/reports
Note: (app)/settings "اشتراکگذاری سازمان" section (1.10) remains presentational work;
endpoints are done and tested.
2026-10-14 09:14:09 +03:30
..
2026-10-13 00:39:28 +03:30
2026-10-14 00:57:08 +03:30
2026-10-13 23:21:17 +03:30
2026-10-14 09:14:09 +03:30
2026-10-13 17:40:16 +03:30
2026-10-13 07:41:00 +00:00
2026-10-13 23:21:17 +03:30
2026-10-14 09:14:09 +03:30
2026-10-13 00:39:28 +03:30
2026-10-14 01:16:23 +03:30
2026-10-13 12:56:36 +03:30
2026-10-14 09:14:09 +03:30
2026-10-13 00:39:28 +03:30
2026-10-13 23:21:17 +03:30
2026-10-13 23:21:17 +03:30
2026-10-14 09:14:09 +03:30
2026-10-14 00:57:08 +03:30
2026-10-14 02:03:38 +03:30
2026-10-13 00:39:28 +03:30