Index: openacs-4/packages/acs-subsite/lib/subsites.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-subsite/lib/subsites.xql,v diff -u -r1.3.20.1 -r1.3.20.2 --- openacs-4/packages/acs-subsite/lib/subsites.xql 9 Jul 2019 09:24:52 -0000 1.3.20.1 +++ openacs-4/packages/acs-subsite/lib/subsites.xql 15 Feb 2022 17:21:03 -0000 1.3.20.2 @@ -30,7 +30,8 @@ and p.package_key in ('[join [subsite::package_keys] {','}]') and ag.package_id = p.package_id and g.group_id = ag.group_id - and (g.join_policy != 'closed' or acs_permission.permission_p(p.package_id, :untrusted_user_id, 'read')) + and (g.join_policy != 'closed' or + acs_permission.permission_p(p.package_id, :untrusted_user_id, 'read') = 't') order by lower(instance_name)