45Drives / cockpit-file-sharing

A Cockpit plugin to easily manage samba and NFS file sharing.
GNU General Public License v3.0
589 stars 32 forks source link

[Feature Request] "Close Share" when removing share #94

Open LDShadowLord opened 12 months ago

LDShadowLord commented 12 months ago

Request: When you press the red Trash Can and it asks "Are you Sure?" provide a second option next to "yes" to "Yes, and Kick all users" or words to that effect. And have it run the command "smbcontrol smbd close-share ".

Currently we have to run the command manually when destroying shares which means bouncing back and forth between the terminal and the File Sharing page, and it would be nice to have it be a single click to close the share and kick all users off and then destroy the share itself.

Thanks.

ZeroBomb commented 4 months ago

It would also be nice if the warning didn't suggest that you were going to delete the folder that was being shared.