fix: navigation shows toolbar for users who can't edit it

This commit is contained in:
Graham Knop 2007-07-19 20:40:44 +00:00
parent 75457b765d
commit 57e73175ae
2 changed files with 4 additions and 0 deletions

View file

@ -75,6 +75,8 @@
- fix: relative links sent out in emails don't work properly
- fix: macros not processed in HttpProxy template
http://www.webgui.org/bugs/tracker/macro-not-working-i-httpproxy
- fix: navigation shows toolbar for users who can't edit it
http://www.webgui.org/bugs/tracker/navigation-shows-edit-button-to-users-without-permission
7.3.21
- fix: Self-deactivation doesn't show login screen after success

View file

@ -297,6 +297,8 @@ Returns a toolbar with a set of icons that hyperlink to functions that delete, e
sub getToolbar {
my $self = shift;
return
unless $self->canEdit;
if ($self->getToolbarState) {
my $returnUrl;
if ($self->session->asset) {