mirror of
https://github.com/opelly27/WinStudentGoalTracker.git
synced 2026-05-20 02:57:36 +00:00
debug
This commit is contained in:
@@ -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"
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user