Glimesh / glimesh.tv

Glimesh is a next generation live streaming platform built by the community, for the community.
https://glimesh.tv
Other
461 stars 77 forks source link

Added optional moderator edit permissions to allow editing stream title, category, and tags. #879

Closed MemoryLeakDeath closed 1 year ago

MemoryLeakDeath commented 1 year ago

New edit channel title, category, and tags permission for moderators

Streamers can now give edit permissions to individual moderators on their channels. The edit permission will give the selected moderators access to the edit modal on the stream page. It will not give moderators permission to any of the streamer's settings pages. The permission is off by default.

image

image

Stream page update

Moderators with edit permission will now be able to access the edit modal on the stream page:

image

image

Moderation Log update

Whenever a moderator with edit permissions makes changes to the stream title/category/tags an additional log message will appear in the moderation log:

image

Database Updates

Code Flow Update

The edit stream modal now goes though a separate changeset from the update channel changeset so it can be isolated permission wise.

clone1018 commented 1 year ago

If you can, rebase this against dev (the main branch) and the tests should magically pass.

MemoryLeakDeath commented 1 year ago

Rebased and it works -- thanks for looking into this!

clone1018 commented 1 year ago

Looks good, thanks!