Skip to content

Commit

Permalink
only admins
Browse files Browse the repository at this point in the history
  • Loading branch information
denisdulici committed Apr 3, 2020
1 parent f7cd2c6 commit babffc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/OfflinePayments/Listeners/InstallModule.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public function handle(Event $event)

protected function updatePermissions()
{
$this->attachPermissionsToAllRoles([
$this->attachPermissionsToAdminRoles([
$this->createModuleSettingPermission('offline-payments', 'read'),
$this->createModuleSettingPermission('offline-payments', 'update'),
$this->createModuleSettingPermission('offline-payments', 'delete'),
Expand Down

0 comments on commit babffc0

Please sign in to comment.