Media can only be edited by a Superadmin, independently of who uploaded it - Calendar does not render

Reported by @claudiiii during AURA Alpha 6 Release Testing (aura#428 - closed).

Media uploaded with "Program Manager" or any Host role cannot be edited. Calendar does not render correctly as a consequence.

Steps to Reproduce

  1. Create user with Program Manager role
  2. Upload media for episode OR default media source
  3. Wait for upload to complete

Expected Result

Upload can be edited.

Actual Result

Upload cannot be edited. Problems with calendar rendering.

  • the "Progam Manager" can upload local media, but not delete or edit it (403)
    • if the media was uploaded by the admin it can be edited but not deleted
  • the "Host+" sees the media as "Unnamed file" no matter who uploaded it
  • Show isn't shown on the calendar. The browser console shows an "Internal server error". Sadly, Django logs the same error, with extra info.

image

image

Logs & configuration

Media:

image

Calendar:

image

Environment

Alpha 6.

Edited by David Trattnig