From 363e1f5b2745e37ce8ec30d6edf143df4d0482ae Mon Sep 17 00:00:00 2001 From: Hamid Reza Mohammadi Date: Fri, 14 Aug 2026 13:41:20 +0330 Subject: [PATCH] #498 permission fixed --- RMuseum/Controllers/GanjoorController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RMuseum/Controllers/GanjoorController.cs b/RMuseum/Controllers/GanjoorController.cs index e9debb17..3b42ed61 100644 --- a/RMuseum/Controllers/GanjoorController.cs +++ b/RMuseum/Controllers/GanjoorController.cs @@ -2428,7 +2428,7 @@ namespace RMuseum.Controllers /// /// [HttpPost("publicdata/batchexport")] - [Authorize(Policy = RMuseumSecurableItem.GanjoorEntityShortName + ":" + RMuseumSecurableItem.ReviewSongs)] + [Authorize(Policy = RMuseumSecurableItem.GanjoorEntityShortName + ":" + RMuseumSecurableItem.ImportOperationShortName)] [ProducesResponseType((int)HttpStatusCode.OK)] [ProducesResponseType((int)HttpStatusCode.BadRequest, Type = typeof(string))] [ProducesResponseType((int)HttpStatusCode.Unauthorized)]