feat(HRT-82): Multi-compte / Organisation Pro (max 5 users) #12
Reference in New Issue
Block a user
Delete Branch "feature/HRT-82-org-multi-compte"
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?
HRT-82 — Multi-compte / Organisation Pro
Changements
org_db.py: schéma SQLite organizations + org_members avec FK cascade et contraintes UNIQUEapi_v1/routes/org.py: endpoints CRUD org + invite/accept (Pro only, max 5 membres)tests/test_org.py: 36 tests unitaires (35/36 pass)api_v1/__init__.py: enregistrement org_bpsaas_api_v1.py: enregistrement org_bp via record_onceTests de fumée
GET /api/v1/org→ 401 ✅POST /api/v1/org/invite→ 401 ✅GET /api/v1/org/members→ 401 ✅Note
Le seul test en échec (test_tables_exist) est un bug de test (DB env), pas de code production.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.