Skip to content

Commit

Permalink
Fix final test
Browse files Browse the repository at this point in the history
  • Loading branch information
vmcj committed Jul 2, 2024
1 parent 7f87cc0 commit 11c08dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webapp/src/Controller/API/ContestController.php
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ public function problemsetAction(Request $request, string $cid): Response
* Change the start time or unfreeze (thaw) time of the given contest.
* @throws NonUniqueResultException
*/
#[IsGranted('ROLE_API_WRITER')]
#[IsGranted(new Expression("is_granted('ROLE_API_WRITER') or is_granted('ROLE_API_CONTEST_CHANGE')"))]
#[Rest\Patch('/{cid}')]
#[OA\RequestBody(
required: true,
Expand Down

0 comments on commit 11c08dc

Please sign in to comment.