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

Experiment soft-deletion is not enough for lab admin #5026

Open
xuhaida76 opened this issue Mar 29, 2024 · 10 comments
Open

Experiment soft-deletion is not enough for lab admin #5026

xuhaida76 opened this issue Mar 29, 2024 · 10 comments

Comments

@xuhaida76
Copy link

Describe your feature request precisely

For 5.0 , in the previous issue #4272(closed), the option of inhibition experiment deletion privilege for user is cancelled.
As a lab admin, I have no right to access the backend database. We have about 30 users in the team, if a user deleted his experiments, I can't know the situation because of no notice. Even I know, I have to seek the system admin to use sql to recover it. So if the option can be rearranged, or can a folder to see the soft-deleted files?

Pro Support

No

@NicolasCARPi
Copy link
Contributor

Hello,

Yes, UI for displaying deleted entries will get added for the Admin. It will also allow restoring an accidentally deleted entry, as currently there is no restore option through the web interface.

@xuhaida76
Copy link
Author

Thanks for your reply!

@alexander-haller
Copy link

How does this interact with the prune commands?

Say a sysadmin wants to execute prune:experiments - that would mean that admins no longer have the deleted items?

As a sysadmin, at some point we definitely need to make sure that old stuff can be safely removed.

@NicolasCARPi
Copy link
Contributor

Yes, pruning completely remove stuff.

@alexander-haller
Copy link

Yes but the question becomes: When admins should be able to reverse a deletion - when is it ever save for a sysadmin to prune?

@NicolasCARPi
Copy link
Contributor

when is it ever save for a sysadmin to prune?

depends on your interpretation of the word "safe". Safest option is: never.

@alexander-haller
Copy link

Of course. But lets say we want/need to prune - then everytime we need to tell admins in advance that at point x a restore of deleted files is impossible?

@MarcelBolten
Copy link
Contributor

In the enchanted realm of eLabFTW, admins wield the power of the 'Undelete' button, a powerful artifact capable of reversing the fate of accidentally banished entities. However, beware! There exists a realm beyond, where sysadmins rule, and entities might be cast into the void of oblivion, never to return. But fear not, for you, the valiant sysadmin, harness the secret arts of backup scrolls. With these ancient tomes at your disposal, you may yet conjure a bridge to the past, summoning lost entities back to the realm of the living. Tread carefully, for this path is fraught with complexity and the peril of overwritten data. Summon wisely, oh keeper of the digital continuum, for your powers can mend the fabric of eLabFTW itself.

@alexander-haller
Copy link

@MarcelBolten This gem clearly needs to go into the documentation - verbatim

@MarcelBolten
Copy link
Contributor

I got some help 😉

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

No branches or pull requests

4 participants