Use the right group in the canView check for Shop settings. fixes #10845.
This commit is contained in:
parent
d902174739
commit
0b43ba64f4
3 changed files with 43 additions and 35 deletions
|
|
@ -132,7 +132,7 @@ Displays the general commerce settings.
|
|||
|
||||
sub www_editSettings {
|
||||
my $self = shift;
|
||||
return $self->session->privilege->adminOnly() unless ($self->session->user->isAdmin);
|
||||
return $self->session->privilege->adminOnly() unless ($self->canManage);
|
||||
my $i18n = WebGUI::International->new($self->session, "Shop");
|
||||
my $ac = $self->getAdminConsole;
|
||||
my $setting = $self->session->setting;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue