From c0b819d4b7762c35698035a2493871697193c6d5 Mon Sep 17 00:00:00 2001 From: Andreas Koenig Date: Wed, 31 Dec 2014 15:39:44 +0100 Subject: [PATCH] silence usermenu by eliminating apply_mod and edit_mod in the permission data - usermenu inspects $mgr->{ActionTuning}{...}{cat} and those are now undef too often --- lib/pause_1999/edit.pm | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/pause_1999/edit.pm b/lib/pause_1999/edit.pm index 8c2e7519b..d2112e888 100644 --- a/lib/pause_1999/edit.pm +++ b/lib/pause_1999/edit.pm @@ -55,9 +55,9 @@ sub parameter { "change_passwd", "delete_files", "edit_cred", - "edit_mod", + # "edit_mod", "edit_uris", - "apply_mod", + # "apply_mod", "pause_logout", "peek_perms", "reindex", @@ -75,7 +75,7 @@ sub parameter { for my $command ( "select_ml_action", "edit_ml", - "edit_mod", + # "edit_mod", "reset_version", "show_ml_repr", ) { @@ -85,7 +85,7 @@ sub parameter { } # Only Modulelist Maintainers - if (exists $mgr->{UserGroups}{modmaint}) { + if (0 && exists $mgr->{UserGroups}{modmaint}) { for my $command ( "add_mod", "apply_mod", @@ -117,8 +117,8 @@ sub parameter { "edit_ml", "select_user", "show_ml_repr", - "add_mod", # all admins may maintain the module list for now - "apply_mod", + # "add_mod", # all admins may maintain the module list for now + # "apply_mod", "check_xhtml", "coredump", "dele_message",