--- loncom/interface/lonmenu.pm 2024/04/18 16:42:58 1.547 +++ loncom/interface/lonmenu.pm 2024/04/18 17:53:15 1.548 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Routines to control the menu # -# $Id: lonmenu.pm,v 1.547 2024/04/18 16:42:58 raeburn Exp $ +# $Id: lonmenu.pm,v 1.548 2024/04/18 17:53:15 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1308,6 +1308,17 @@ s&7&2&prt.png&Print&printout[_1]&gocstr( ENDMENUITEMS } } +# +# Editing options usually accessed via "Settings" in inline menu need to be +# accessed in a different way, when Authoring Space is accessed in course +# context +# + if ($env{'request.role'} !~/^(aa|ca|au)/) { + my $privfile = &Apache::loncommon::escape_single("/priv/$udom/$uname/$thisdisfn"); + $menuitems .= (<