diff --git a/Grand.Web/Areas/Admin/Controllers/ManufacturerController.cs b/Grand.Web/Areas/Admin/Controllers/ManufacturerController.cs index 79bb92a94f..215257689b 100644 --- a/Grand.Web/Areas/Admin/Controllers/ManufacturerController.cs +++ b/Grand.Web/Areas/Admin/Controllers/ManufacturerController.cs @@ -343,8 +343,8 @@ public async Task ExportXlsx() [HttpPost] public async Task ImportFromXlsx(IFormFile importexcelfile, [FromServices] IWorkContext workContext) { - //a vendor and staff cannot import manufacturers - if (workContext.CurrentVendor != null || _workContext.CurrentCustomer.IsStaff()) + //a vendor cannot import manufacturers + if (workContext.CurrentVendor != null || _workContext.CurrentCustomer.IsVendor()) return AccessDeniedView(); try