From 5cc6d55622e5ead7d1d12dcc84041ca8614ef239 Mon Sep 17 00:00:00 2001 From: Hamid Reza Mohammadi Date: Sat, 19 Dec 2020 19:48:19 +0330 Subject: [PATCH] removing chown permission --- RMuseum/Controllers/RecitationController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RMuseum/Controllers/RecitationController.cs b/RMuseum/Controllers/RecitationController.cs index e1a0f23d..d5ead367 100644 --- a/RMuseum/Controllers/RecitationController.cs +++ b/RMuseum/Controllers/RecitationController.cs @@ -712,7 +712,7 @@ namespace RMuseum.Controllers /// number of transfered items [HttpPut("chown")] - [Authorize(Policy = RMuseumSecurableItem.AudioRecitationEntityShortName + ":" + RMuseumSecurableItem.ModerateOperationShortName)] + [Authorize] [ProducesResponseType((int)HttpStatusCode.OK, Type = typeof(int))] [ProducesResponseType((int)HttpStatusCode.BadRequest, Type = typeof(string))] [ProducesResponseType((int)HttpStatusCode.NotFound, Type = typeof(string))]