diff --git a/Controllers/PlayerController.cs b/Controllers/PlayerController.cs index f58baf4..164c2fd 100644 --- a/Controllers/PlayerController.cs +++ b/Controllers/PlayerController.cs @@ -94,7 +94,7 @@ public class PlayerController : ControllerBase } [HttpPut] - [Authorize(Roles = "USER,SUPER")] + [Authorize(Roles = "SUPER")] public async Task Update([FromBody] UpdatePlayerRequest req) { var userId = User.FindFirstValue(ClaimTypes.NameIdentifier); @@ -109,7 +109,7 @@ public class PlayerController : ControllerBase } [HttpDelete] - [Authorize(Roles = "USER,SUPER")] + [Authorize(Roles = "SUPER")] public async Task Delete() { var userId = User.FindFirstValue(ClaimTypes.NameIdentifier);