--- loncom/lonnet/perl/lonnet.pm 2012/05/30 22:01:08 1.1172.2.5 +++ loncom/lonnet/perl/lonnet.pm 2012/06/01 12:10:46 1.1172.2.6 @@ -1,7 +1,7 @@ # The LearningOnline Network # TCP networking package # -# $Id: lonnet.pm,v 1.1172.2.5 2012/05/30 22:01:08 raeburn Exp $ +# $Id: lonnet.pm,v 1.1172.2.6 2012/06/01 12:10:46 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1954,7 +1954,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}; @@ -5643,6 +5643,7 @@ sub usertools_access { %tools = ( aboutme => 1, blog => 1, + webdav => 1, portfolio => 1, ); } @@ -5741,7 +5742,7 @@ sub usertools_access { } } } else { - if ($context eq 'tools') { + if (($context eq 'tools') && ($tool ne 'webdav')) { $access = 1; } else { $access = 0;