drawpile / Drawpile

A collaborative drawing program
http://drawpile.net/
GNU General Public License v3.0
1.01k stars 129 forks source link

Dedicated server: allow moderators to override global persistence setting #1286

Open askmeaboutlo0m opened 2 months ago

askmeaboutlo0m commented 2 months ago

Currently, the dedicated server has a switch to either allow sessions to persistent without users or not to allow it. Turning it on means that any user can make any session persistent. That's too inflexible though. For example, on pub.drawpile.net, we'd like only very specific sessions to be persistent.

The dedicated server should allow moderators (through the client) and admins (through the web admin) to enable persistence on individual sessions even when the global setting is off, similar to the idle timeout override.

This needs to be implemented along with #1220, which would probably allow users to make sessions persistent from the host dialog. Otherwise the chance of people filling up pub with persistent sessions on accident is too high.

Credit Bluestrings with suggesting.