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:
JT Smith 2006-05-16 14:04:34 +00:00
parent b8e8478305
commit 9b92fdd8b9
3 changed files with 5 additions and 3 deletions

View file

@ -4,6 +4,8 @@
- Fixed a typo in the activities in the config file. - Fixed a typo in the activities in the config file.
- fixed a bug that caused threadId's to be empty in new posts - fixed a bug that caused threadId's to be empty in new posts
- fix [ 1489123 ] problem with graphing (Martin Kamerbeek / Procolix) - fix [ 1489123 ] problem with graphing (Martin Kamerbeek / Procolix)
- 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.
6.99.0 6.99.0
- Added a workflow system. - Added a workflow system.

File diff suppressed because one or more lines are too long

View file

@ -52,7 +52,7 @@ sub process {
title=>$item->{title}, title=>$item->{title},
icon=>$item->{'icon.small'}, icon=>$item->{'icon.small'},
url=>$item->{url} url=>$item->{url}
}); }) if ($item->{canUse});
} }
push(@adminbar, { push(@adminbar, {
label => $i18n->get("admin console","AdminConsole"), label => $i18n->get("admin console","AdminConsole"),