added vendor management
fixed a few privilege statements in some other code
This commit is contained in:
parent
175b977e4e
commit
6616504077
11 changed files with 610 additions and 19 deletions
|
|
@ -268,9 +268,9 @@ sub www_manage {
|
|||
my $self = shift;
|
||||
my $session = $self->session;
|
||||
my $admin = WebGUI::Shop::Admin->new($session);
|
||||
my $i18n = WebGUI::International->new($session, "Pay");
|
||||
my $i18n = WebGUI::International->new($session, "Shop");
|
||||
|
||||
return $session->privilege->adminOnly() unless ($session->user->isInGroup("3"));
|
||||
return $session->privilege->adminOnly() unless ($admin->canManage);
|
||||
|
||||
# Button for adding a payment gateway
|
||||
my $output = WebGUI::Form::formHeader($session)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue