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

ACLs of a series (of a Moodle course) are not set by using schedule-and-upload workflow #316

Open
mwuttke opened this issue Apr 3, 2024 · 5 comments
Labels
type:bug Something isn't working

Comments

@mwuttke
Copy link
Contributor

mwuttke commented Apr 3, 2024

I'm not sure whether the error is in the new admin ui, but I'm just going to assume that it's in the right place. When scheduling scheduled lecture recordings using the schedule-and-upload workflow, my colleague and I noticed that the assignment of a series (Moodle course ID) does not work correctly and the access rights for the Moodle course (Learner & Instructor) are not set. This means that at the end of the dialogue for setting up a planned lecture recording, the assignment of the planned recordings to the access rights (ACLs) for the selected Moodle course is simply missing.

To Reproduce
Steps to reproduce the behavior:

  1. Create a new Event
  2. Select Schedule single event or Schedule multiple events
  3. Select workflow Process upon upload and schedule
  4. Select Straight to publishing
  5. See the error (screen shot)
    screenshot_2024-04-02

Expected behavior
The workflow should run through without errors, i.e. the ACLs for the series should be set acording to the Moodle course and the ACLs there.
Bildschirmfoto vom 2024-04-02 19-27-47

Server environment:

  • OS: Debian 12/Bookworm
  • Opencast Version: 15.3 (deb packages)
  • Separate nodes for adminpresentation & 4 workers
  • using Extron SMP
@Arnei Arnei added the type:bug Something isn't working label Apr 3, 2024
@Arnei
Copy link
Member

Arnei commented Apr 3, 2024

Thanks for the report. This should be fixed by #300 in the next release, but I have not actually tested if it fixes your particular problem.

This is also likely not a problem with the schedule-and-upload workflow, as the "Zugriffsrichtlinie"-Tab is already not showing the correct roles and the workflow does not start until after you hit "Anlegen" on the last tab.

@mwuttke
Copy link
Contributor Author

mwuttke commented Apr 3, 2024

Sorry @Arnei, but I didn't get it. Do you see the difference between the behaviour of the new admin ui and the old one?

Piri gave me the hint to the patch from you. I tried it yesterday by using a new jar file for opencast-admin-ui-interface form the newest branch (admin-ui-picard) built by Piri. The error still occurred.

@Arnei
Copy link
Member

Arnei commented Apr 3, 2024

Sorry @Arnei, but I didn't get it. Do you see the differenc between the behaviour of the new admin ui and the old one?

What in particular did you not understand?
Yes, I do see the difference in behaviour.

Piri gave me the hint to the #300 from you. I tried it yesterday by using a new jar file for opencast-admin-ui-interface form the newest branch (admin-ui-picard) built by Piri. The error still occurred.

So #300 does not fix your issue, good to know at least.

@mwuttke
Copy link
Contributor Author

mwuttke commented Apr 3, 2024

Thanks Arne for your answer.

What in particular did you not understand? Yes, I do see the difference in behaviour.

In the "Zugriffsrichtlinie"-Tab in the old Admin UI the correct roles are shown but not in the new Admin UI. I don't understand why. Therefore my question to you.

@Arnei
Copy link
Member

Arnei commented Apr 3, 2024

In the "Zugriffsrichtlinie"-Tab in the old Admin UI the correct roles are shown but not in the new Admin UI. I don't understand why. Therefore my question to you.

The new Admin UI should definitely show the correct roles, so that's a bug. As for why that bug occurs I do not know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants