Skip to content

Commit

Permalink
Remove anonymous role if video visibility is changed to internal
Browse files Browse the repository at this point in the history
  • Loading branch information
dennis531 committed Nov 11, 2024
1 parent b714c6c commit 63c5466
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/Models/Helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [];
Expand Down

0 comments on commit 63c5466

Please sign in to comment.