fix: navigation shows toolbar for users who can't edit it
This commit is contained in:
parent
75457b765d
commit
57e73175ae
2 changed files with 4 additions and 0 deletions
|
|
@ -75,6 +75,8 @@
|
||||||
- fix: relative links sent out in emails don't work properly
|
- fix: relative links sent out in emails don't work properly
|
||||||
- fix: macros not processed in HttpProxy template
|
- fix: macros not processed in HttpProxy template
|
||||||
http://www.webgui.org/bugs/tracker/macro-not-working-i-httpproxy
|
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
|
7.3.21
|
||||||
- fix: Self-deactivation doesn't show login screen after success
|
- fix: Self-deactivation doesn't show login screen after success
|
||||||
|
|
|
||||||
|
|
@ -297,6 +297,8 @@ Returns a toolbar with a set of icons that hyperlink to functions that delete, e
|
||||||
|
|
||||||
sub getToolbar {
|
sub getToolbar {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
|
return
|
||||||
|
unless $self->canEdit;
|
||||||
if ($self->getToolbarState) {
|
if ($self->getToolbarState) {
|
||||||
my $returnUrl;
|
my $returnUrl;
|
||||||
if ($self->session->asset) {
|
if ($self->session->asset) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue