quivr/backend/core/repository/brain_subscription
Zineb El Bachiri 0b091bd8c9
Feat/shareable brains open link authenticated (#676)
* ♻️ use Single Responsibility Principle on brains_subscription

*  new brain subscription endpoints for invited user

* 📝 add documentation to endpoints

* 🎨 add base_frontend_url to send custom url for brain share

* ✏️ brains instead of brain in url

*  use origin in header for frontend url in subscription email

* 🚚 move and remove unused code

*  new subscription API for BE endpoints in frontend

*  new addBrain to  add a shared brain in frontend

* 🥚 new hook for brain invitations

*  new page for brain invitation

*  change frontend url to copy for brain subscription

* ✏️ call RBAC with wrapper function

* ✏️ last typos
2023-07-18 09:47:59 +02:00
..
__init__.py Feat/shareable brains open link authenticated (#676) 2023-07-18 09:47:59 +02:00
get_brain_url.py Feat/shareable brains open link authenticated (#676) 2023-07-18 09:47:59 +02:00
resend_invitation_email.py Feat/shareable brains open link authenticated (#676) 2023-07-18 09:47:59 +02:00
subscription_invitation_service.py Feat/shareable brains open link authenticated (#676) 2023-07-18 09:47:59 +02:00