wger icon indicating copy to clipboard operation
wger copied to clipboard

Normal users are not allowed to upload videos but admins can

Open mohammadrafigh opened this issue 3 years ago • 1 comments

Normal users are not allowed to upload videos but admins can upload videos.

Steps to Reproduce

  1. Login as a normal user (without admin privileges)
  2. Try to edit an exercise and add a new video, :fearful: there is no add video button.

Expected results:

If ALLOW_UPLOAD_VIDEOS is enabled then all users should be able to upload videos.

mohammadrafigh avatar Nov 19 '22 13:11 mohammadrafigh

I had a look into database an noticed users don't have the upload video permission. Is it intended? If a user can contribute an exercise and add images then why not videos? Also it's kinda weird that there in no video upload at all when making a new exercise, It's only allowed through edit exercise page which is not available at all in mobile client.

mohammadrafigh avatar Nov 21 '22 00:11 mohammadrafigh