if (!$this->user->hasPermission('modify', 'openbay/amazonus')) { $this->error = $this->language->get('error_permission'); } if (empty($this->error)) { return true; } return false;