From 9f4844cac5f085c17669041519c40d6a3b9833d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Till=20Gl=C3=B6ggler?= Date: Mon, 25 Nov 2024 15:55:01 +0100 Subject: [PATCH] add missing role for uploading videos to work on testsystem --- .../roles/opencast/templates/opencast-build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/ansible-testsystem/opencast-demo-machines/roles/opencast/templates/opencast-build.sh b/tools/ansible-testsystem/opencast-demo-machines/roles/opencast/templates/opencast-build.sh index b6049e4f..28d756ae 100755 --- a/tools/ansible-testsystem/opencast-demo-machines/roles/opencast/templates/opencast-build.sh +++ b/tools/ansible-testsystem/opencast-demo-machines/roles/opencast/templates/opencast-build.sh @@ -32,7 +32,7 @@ sed -i 's_#oauth_oauth_' /srv/opencast/opencast-dist-allinone/etc/org.opencastpr echo 'lti.create_jpa_user_reference = false' >> /srv/opencast/opencast-dist-allinone/etc/org.opencastproject.security.lti.LtiLaunchAuthenticationHandler.cfg echo 'lti.custom_role_name=Instructor' >> /srv/opencast/opencast-dist-allinone/etc/org.opencastproject.security.lti.LtiLaunchAuthenticationHandler.cfg -echo 'lti.custom_roles=ROLE_STUDIO,ROLE_UI_EVENTS_DETAILS_COMMENTS_CREATE,ROLE_UI_EVENTS_DETAILS_COMMENTS_DELETE,ROLE_UI_EVENTS_DETAILS_COMMENTS_EDIT,ROLE_UI_EVENTS_DETAILS_COMMENTS_REPLY,ROLE_UI_EVENTS_DETAILS_COMMENTS_RESOLVE,ROLE_UI_EVENTS_DETAILS_COMMENTS_VIEW,ROLE_UI_EVENTS_DETAILS_MEDIA_VIEW,ROLE_UI_EVENTS_DETAILS_METADATA_EDIT,ROLE_UI_EVENTS_DETAILS_METADATA_VIEW,ROLE_UI_EVENTS_DETAILS_VIEW,ROLE_UI_EVENTS_EDITOR_EDIT,ROLE_UI_EVENTS_EDITOR_VIEW,ROLE_CAPTURE_AGENT,ROLE_API_EVENTS_TRACK_EDIT,ROLE_ADMIN' >> /srv/opencast/opencast-dist-allinone/etc/org.opencastproject.security.lti.LtiLaunchAuthenticationHandler.cfg +echo 'lti.custom_roles=ROLE_STUDIO,ROLE_UI_EVENTS_DETAILS_COMMENTS_CREATE,ROLE_UI_EVENTS_DETAILS_COMMENTS_DELETE,ROLE_UI_EVENTS_DETAILS_COMMENTS_EDIT,ROLE_UI_EVENTS_DETAILS_COMMENTS_REPLY,ROLE_UI_EVENTS_DETAILS_COMMENTS_RESOLVE,ROLE_UI_EVENTS_DETAILS_COMMENTS_VIEW,ROLE_UI_EVENTS_DETAILS_MEDIA_VIEW,ROLE_UI_EVENTS_DETAILS_METADATA_EDIT,ROLE_UI_EVENTS_DETAILS_METADATA_VIEW,ROLE_UI_EVENTS_DETAILS_VIEW,ROLE_UI_EVENTS_EDITOR_EDIT,ROLE_UI_EVENTS_EDITOR_VIEW,ROLE_CAPTURE_AGENT,ROLE_API_EVENTS_TRACK_EDIT,ROLE_API_WORKFLOW_INSTANCE_CREATE' >> /srv/opencast/opencast-dist-allinone/etc/org.opencastproject.security.lti.LtiLaunchAuthenticationHandler.cfg echo 'lti.consumer_role_prefix.CONSUMERKEY0 = STUDIP_' >> /srv/opencast/opencast-dist-allinone/etc/org.opencastproject.security.lti.LtiLaunchAuthenticationHandler.cfg echo 'lti.oauth.highly_trusted_consumer_key.1=CONSUMERKEY' >> /srv/opencast/opencast-dist-allinone/etc/org.opencastproject.security.lti.LtiLaunchAuthenticationHandler.cfg