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" }); }