calzoneman / sync

Node.JS Server and JavaScript/HTML Client for synchronizing online media
Other
1.46k stars 235 forks source link

Send username in delete frames #876

Closed deerfarce closed 4 years ago

deerfarce commented 4 years ago

At the moment, you can't really see who's deleting items from the playlist without looking at the channel log. This adds a "username" property/key to delete frames which can be seen by those who have permission to delete videos (though I think that maybe everyone registered should be able to see it instead). Those without permission do not receive the username property, and server actions send [server], of course. This way it's easier, for example, for bots to log exactly who deleted a certain video without pulling the full channel log.

calzoneman commented 4 years ago

Closing for inactivity.