elan-ev / studip-opencast-plugin

This is an Stud.IP plugin for Opencast
https://elan-ev.github.io/studip-opencast-plugin/
GNU General Public License v2.0
9 stars 20 forks source link

Remove remaining course acls from video #1061

Closed dennis531 closed 5 days ago

dennis531 commented 2 weeks ago

Version master branch

Describe the bug The course ACLs of a video will never be removed, as they will be handled like other external OC roles in

https://github.com/elan-ev/studip-opencast-plugin/blob/382f1d3153695128144af7f6ede34fe32f3773e4/lib/Models/Helpers.php#L318-L356

I had noticed this when fixing https://github.com/elan-ev/studip-opencast-plugin/issues/1031.

To Reproduce Steps to reproduce the behavior:

  1. Remove video from course
  2. Change "Weltweiter Zugriff" to trigger the updateAcl function
  3. Check ACls in Opencast for this video
  4. See ACLs of course are still there