Skip to content

Commit

Permalink
silence usermenu by eliminating apply_mod and edit_mod in the permiss…
Browse files Browse the repository at this point in the history
…ion data

  - usermenu inspects $mgr->{ActionTuning}{...}{cat} and those are now undef too often
  • Loading branch information
andk committed Dec 31, 2014
1 parent 81fb784 commit c0b819d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions lib/pause_1999/edit.pm
Expand Up @@ -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",
Expand All @@ -75,7 +75,7 @@ sub parameter {
for my $command (
"select_ml_action",
"edit_ml",
"edit_mod",
# "edit_mod",
"reset_version",
"show_ml_repr",
) {
Expand All @@ -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",
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit c0b819d

Please sign in to comment.