--- loncom/auth/publiccheck.pm 2023/12/28 15:57:28 1.28 +++ loncom/auth/publiccheck.pm 2023/12/28 18:14:08 1.29 @@ -1,7 +1,7 @@ # The LearningOnline Network # Cookie Based Access Handler # -# $Id: publiccheck.pm,v 1.28 2023/12/28 15:57:28 raeburn Exp $ +# $Id: publiccheck.pm,v 1.29 2023/12/28 18:14:08 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -125,7 +125,7 @@ sub process_portfolio { $access = 'public'; last; } - if ($scope eq 'ip') { + if (($scope eq 'ip') || ($scope eq 'userip')) { if (ref($access_controls{$file_name}{$key}) eq 'HASH') { if (ref($access_controls{$file_name}{$key}{'ip'}) eq 'ARRAY') { if (&Apache::loncommon::check_ip_acc(join(',',@{$access_controls{$file_name}{$key}{'ip'}}),$clientip)) {