MCPcopy Create free account
hub / github.com/GmpABR/NexusFlow / VerifyColumnAccessAsync

Method VerifyColumnAccessAsync

backend/Services/TaskService.cs:1021–1028  ·  view source on GitHub ↗
(int columnId, int userId)

Source from the content-addressed store, hash-verified

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 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected