Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deletion of recordings related to the tenant along with its deletion #1045

Open
mailalaki opened this issue Feb 2, 2024 · 2 comments
Open

Comments

@mailalaki
Copy link

One problem I encountered was that I thought that when a tenant is deleted, just as that tenant's recordings are separate from other recordings, its recordings will be deleted along with it. But it didn't happen and now I have a lot of extra recordings left on my server.
While I would like to suggest that you include an option when deleting a tenant (for example, a switch for tenants:remove[id]) to delete all recordings related to it, I would like your help to delete the extra recordings of that tenant that are currently left on my server. get them to be deleted from both the files and the database.
Thank you

Problem to solve:
Deletion of recordings related to the tenant along with its deletion

Purposed solution:
Adding an optional switch to the Tenant removal command
for example:
./bin/rake tenants:remove[id] --remove-recordings
or
./bin/rake tenants:removeRecordings[tenant-id]

@mailalaki
Copy link
Author

No suggestion to solve my problem for now?

@JeanPluzo
Copy link

Hi,

I don't use tenants in SL, but I imagine/hope that the tenant info is stored in an xml file within each recording (metadata.xml). If a tenant's specific data is stored there you could search all your recordings for this specific information and then delete said recordings.

Regards,
J.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants