--- loncom/interface/lonuserutils.pm 2016/10/04 21:02:16 1.175 +++ loncom/interface/lonuserutils.pm 2016/10/10 03:02:47 1.176 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Utility functions for managing LON-CAPA user accounts # -# $Id: lonuserutils.pm,v 1.175 2016/10/04 21:02:16 raeburn Exp $ +# $Id: lonuserutils.pm,v 1.176 2016/10/10 03:02:47 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -5887,6 +5887,9 @@ sub get_permission { if (&Apache::lonnet::allowed('ccr',$env{'request.role.domain'})) { $permission{'custom'} = 1; } + if (&Apache::lonnet::allowed('vac',$env{'request.role.domain'})) { + $permission{'activity'} = 1; + } $permission{'view'} = $permission{'cusr'}; } my $allowed = 0;