--- loncom/interface/lonmenu.pm 2017/10/07 22:20:19 1.482 +++ loncom/interface/lonmenu.pm 2017/10/07 23:14:49 1.483 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Routines to control the menu # -# $Id: lonmenu.pm,v 1.482 2017/10/07 22:20:19 raeburn Exp $ +# $Id: lonmenu.pm,v 1.483 2017/10/07 23:14:49 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -500,6 +500,8 @@ sub secondary_menu { next if ($item->[2] eq 'vcg' && !$canviewgrps); next if ($item->[2] eq 'crsedit' && !$canedit && !$canvieweditor); next if ($item->[2] eq 'params' && !$canmodpara && !$canviewpara); + next if ($item->[2] eq 'author' && !$author); + next if ($item->[2] eq 'cca' && !$canmodifycoauthor); push(@scndsub,$item); } }