diff --git a/lib/Models/Helpers.php b/lib/Models/Helpers.php index 00fc163c..4301214a 100644 --- a/lib/Models/Helpers.php +++ b/lib/Models/Helpers.php @@ -334,6 +334,10 @@ public static function filterACLs($acls, $studip_acls) $possible_roles = array_column($studip_acls, 'role'); + if (\Config::get()->OPENCAST_ALLOW_PUBLIC_SHARING) { + $possible_roles[] = 'ROLE_ANONYMOUS'; + } + sort($acls); $result = [];