--- loncom/lonnet/perl/lonnet.pm 2012/05/30 20:29:45 1.1176 +++ loncom/lonnet/perl/lonnet.pm 2012/06/01 11:39:33 1.1177 @@ -1,7 +1,7 @@ # The LearningOnline Network # TCP networking package # -# $Id: lonnet.pm,v 1.1176 2012/05/30 20:29:45 raeburn Exp $ +# $Id: lonnet.pm,v 1.1177 2012/06/01 11:39:33 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1957,7 +1957,7 @@ sub get_domain_defaults { } else { $domdefaults{'defaultquota'} = $domconfig{'quotas'}; } - my @usertools = ('aboutme','blog','portfolio'); + my @usertools = ('aboutme','blog','webdav','portfolio'); foreach my $item (@usertools) { if (ref($domconfig{'quotas'}{$item}) eq 'HASH') { $domdefaults{$item} = $domconfig{'quotas'}{$item}; @@ -5647,6 +5647,7 @@ sub usertools_access { %tools = ( aboutme => 1, blog => 1, + webdav => 1, portfolio => 1, ); } @@ -5745,7 +5746,7 @@ sub usertools_access { } } } else { - if ($context eq 'tools') { + if (($context eq 'tools') && ($tool ne 'webdav')) { $access = 1; } else { $access = 0;