(int columnId, int userId)
| 1019 | } |
| 1020 | |
| 1021 | private async Task<bool> VerifyColumnAccessAsync(int columnId, int userId) |
| 1022 | { |
| 1023 | return await _db.Columns |
| 1024 | .Where(c => c.Id == columnId) |
| 1025 | .AnyAsync(c => c.Board.OwnerId == userId |
| 1026 | || c.Board.Members.Any(m => m.UserId == userId && m.Status == "Accepted") |
| 1027 | || (c.Board.Workspace.Members.Any(wm => wm.UserId == userId && wm.Status == "Accepted"))); |
| 1028 | } |
| 1029 | |
| 1030 | private async Task<bool> VerifySubtaskAccessAsync(int subtaskId, int userId) |
| 1031 | { |
nothing calls this directly
no outgoing calls
no test coverage detected