From cccf98d6da42609c5637065634066084a5246b9c Mon Sep 17 00:00:00 2001 From: Oliver Pelly Date: Mon, 2 Mar 2026 17:34:45 -0800 Subject: [PATCH] debug --- api/src/Controllers/StudentController.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/src/Controllers/StudentController.cs b/api/src/Controllers/StudentController.cs index 52f1e98..ec8bb69 100644 --- a/api/src/Controllers/StudentController.cs +++ b/api/src/Controllers/StudentController.cs @@ -154,12 +154,12 @@ public class StudentController : BaseController }); } - if (!PermissionService.IsAllowed(role, EntityType.Goal, PermissionAction.Create)) + if (!PermissionService.IsAllowed(role, EntityType.Goal, PermissionAction.Create, isMine: true)) { return BadRequest(new ResponseResult { Success = false, - Message = "Unable to create goal." + Message = "Unable to create goal. - Permission Matrix" }); }