mirror of
https://github.com/mediacms-io/mediacms.git
synced 2025-11-21 22:07:59 -05:00
feat: update versions for python packages, add Pages functionality (#1386)
This PR updates Django core version and also brings html pages support (that admins can create)
This commit is contained in:
@@ -429,6 +429,9 @@ def user_allowed_to_upload(request):
|
||||
|
||||
def can_transcribe_video(user):
|
||||
"""Checks if a user can transcribe a video."""
|
||||
if not getattr(settings, 'USE_WHISPER_TRANSCRIBE', False):
|
||||
return False
|
||||
|
||||
if is_mediacms_editor(user):
|
||||
return True
|
||||
if getattr(settings, 'USER_CAN_TRANSCRIBE_VIDEO', False):
|
||||
|
||||
Reference in New Issue
Block a user