Fixed a problem where anybody could see the complete list of admin console
functions in the adminbar, even though they couldn't actually use them.
This commit is contained in:
parent
b8e8478305
commit
9b92fdd8b9
3 changed files with 5 additions and 3 deletions
|
|
@ -52,7 +52,7 @@ sub process {
|
|||
title=>$item->{title},
|
||||
icon=>$item->{'icon.small'},
|
||||
url=>$item->{url}
|
||||
});
|
||||
}) if ($item->{canUse});
|
||||
}
|
||||
push(@adminbar, {
|
||||
label => $i18n->get("admin console","AdminConsole"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue