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

Update video ACLs when adding to new course #1083

Open
dennis531 opened this issue Nov 25, 2024 · 0 comments
Open

Update video ACLs when adding to new course #1083

dennis531 opened this issue Nov 25, 2024 · 0 comments
Assignees
Labels
type:feature v:3 Everything related to the Stud.IP Opencast Plugin Version 3.x
Milestone

Comments

@dennis531
Copy link
Collaborator

dennis531 commented Nov 25, 2024

Is your feature request related to a problem? Please describe.
The course ACLs will not be set when adding a video to a playlist of a new course.

Describe the solution you'd like
Don't display the video for people without write permission in the affected course

Steps:

  1. add video to a course playlist. Set the flag e.g. available=false in oc_playlist_seminar_video if video is new in the course
  2. update ACLs and start workflow
  3. put video into the queue to check for completion of the workflow
  4. when retrieving the course videos, the video won't be displayed for people without write permission
    • Only display if the current person in the course has implicit permission to access the video from another course or explicit permission
  5. job in the queue was processed successfully
    • Set in the DB that the video in the course playlist is available for all participants (available=true flag)
  6. all course participants should now be able to see the video.

Describe alternatives you've considered
Alternatively, we could only show the video to the person adding it until the job in the queue has been successfully processed. This could simplify the query when retrieving the videos and improve the performance.

@tgloeggl tgloeggl self-assigned this Dec 9, 2024
@tgloeggl tgloeggl added this to the V3.23 milestone Dec 13, 2024
@tgloeggl tgloeggl added the v:3 Everything related to the Stud.IP Opencast Plugin Version 3.x label Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:feature v:3 Everything related to the Stud.IP Opencast Plugin Version 3.x
Projects
Status: No status
Development

No branches or pull requests

2 participants