Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

As normal lecturer it is not possible to open the opencast video editor from moodle side #1328

Open
mwuttke opened this issue May 6, 2024 · 0 comments

Comments

@mwuttke
Copy link

mwuttke commented May 6, 2024

As a normal lecturer it is not possible to open the opencast video editor from the moodle block page, if a video was created with the schedule & upload workflow. As the admin of moodle or the admin of opencast is it possible to open the opencast editor and cut a video. If a video was created with the fast workflow it works as expected.

As a normal lecturer I will get the following error message when I try to open the opencast video editor:

A critical error has occurred! A problem occurred during communication with Opencast. Details: Status 403: No write access to this event.

In the apache2 access log on the opencast adminpresentation node I can find the following messages:

my-company.de:443 v.x.y.z - - [06/May/2024:09:01:21 +0200] "GET /editor-ui/index.html?mediaPackageId=MymediaPackageId&lng=de HTTP/2.0" 200 845 "https://moodle.hu-berlin.de/" "Mozilla/5.0 (X11; Linux x86_64; rv:125.0) Gecko/20100101 Firefox/125.0"
my-company.de:443 v.x.y.z - - [06/May/2024:09:01:21 +0200] "GET /editor-ui/static/css/main.dd57edd1.css HTTP/2.0" 200 1953 "https://my-company.de/editor-ui/index.html?mediaPackageId=MymediaPackageId&lng=de" "Mozilla/5.0 (X11; Linux x86_64; rv:125.0) Gecko/20100101 Firefox/125.0"
my-company.de:443 v.x.y.z - - [06/May/2024:09:01:21 +0200] "GET /editor-ui/static/js/main.f91048a6.js HTTP/2.0" 304 17 "https://my-company.de/editor-ui/index.html?mediaPackageId=MymediaPackageId&lng=de" "Mozilla/5.0 (X11; Linux x86_64; rv:125.0) Gecko/20100101 Firefox/125.0"
my-company.de:443 v.x.y.z - - [06/May/2024:09:01:21 +0200] "GET /editor-ui/static/media/roboto-flex-latin-wght-normal.83de0d79c4a86cd0ff67.woff2 HTTP/2.0" 200 38426 "https://my-company.de/editor-ui/static/css/main.dd57edd1.css" "Mozilla/5.0 (X11; Linux x86_64; rv:125.0) Gecko/20100101 Firefox/125.0"
my-company.de:443 v.x.y.z - - [06/May/2024:09:01:21 +0200] "GET /ui/config/editor/editor-settings.toml HTTP/2.0" 200 4169 "https://my-company.de/editor-ui/index.html?mediaPackageId=MymediaPackageId&lng=de" "Mozilla/5.0 (X11; Linux x86_64; rv:125.0) Gecko/20100101 Firefox/125.0"
my-company.de:443 v.x.y.z - - [06/May/2024:09:01:21 +0200] "GET /editor/MymediaPackageId/edit.json HTTP/2.0" 403 62 "https://my-company.de/editor-ui/index.html?mediaPackageId=MymediaPackageId&lng=de" "Mozilla/5.0 (X11; Linux x86_64; rv:125.0) Gecko/20100101 Firefox/125.0"

I added ROLE_OAUTH_USER to the editor endpoint in our Opencast under /etc/opencast/security/mh_default_org.xml. But the error still occurs.

Server environment:

OS: Debian 12.x
Moodle Version: 4.1.10+
Opencast Moodle Block Plugin Version: v4.3-r2
OC Version: 15.4
Distribution of OC: 1x adminpresentation + 4x worker
Java Version: 17

With the Opencast Version 14 it was not a problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant