mediacms-io / mediacms

MediaCMS is a modern, fully featured open source video and media CMS, written in Python/Django and React, featuring a REST API.
https://mediacms.io
GNU Affero General Public License v3.0
2.52k stars 458 forks source link

Fix commenting by regular users when posting media requires advanced permissions #1023

Open KyleMaas opened 1 month ago

KyleMaas commented 1 month ago

Fixes #216

Description

This allows the site operator control over who is able to comment. It is configured by default to allow all logged-in users to be able to comment, but can be changed to only allow email_verified users or advanced users to comment. This also fixes #216 since it separates out the comment permissions from the media posting permissions.

It does not, however, add anonymous commenting as was mentioned in passing at the end of #216. That change is a little more difficult and outside of the scope of what I could quickly accomplish.

Steps

Pre-deploy

Post-deploy