This commit is contained in:
2026-03-02 17:34:45 -08:00
parent dcb017d206
commit cccf98d6da
+2 -2
View File
@@ -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<StudentGoalItem> return BadRequest(new ResponseResult<StudentGoalItem>
{ {
Success = false, Success = false,
Message = "Unable to create goal." Message = "Unable to create goal. - Permission Matrix"
}); });
} }