Adds the ability to convert a personal profile organization into a separate organization by changing the slug of the organization by concatenating "org" to the end it. The feature can be accessed via a "Turn into an organization" button on the profile page, with corresponding functionality available through a new API endpoint.
Changes:
api/roles.py: Created ConvertToOrganizationView to handle the backend logic including changing the slug of the organization.
saas/profile/index.html: Added a button for the conversion on the profile page.
Djaodjin-saas-vue.js: Implemented convertToOrganization method to connect the frontend to the API.
api/users.py: Added URL routing for the new Convert to Organization endpoint.
Adds the ability to convert a personal profile organization into a separate organization by changing the slug of the organization by concatenating "org" to the end it. The feature can be accessed via a "Turn into an organization" button on the profile page, with corresponding functionality available through a new API endpoint.
Changes:
api/roles.py
: Created ConvertToOrganizationView to handle the backend logic including changing the slug of the organization.saas/profile/index.html
: Added a button for the conversion on the profile page.Djaodjin-saas-vue.js
: ImplementedconvertToOrganization
method to connect the frontend to the API.api/users.py
: Added URL routing for the new Convert to Organization endpoint.