namespace ColaFlow.Modules.ProjectManagement.Application.Services; /// /// Service for checking project-level permissions /// public interface IProjectPermissionService { /// /// Checks if a user has permission to access a project /// Currently checks if user is the project owner /// TODO: Extend to check ProjectMember table when implemented /// /// User ID to check /// Project ID to check access for /// Cancellation token /// True if user has access, false otherwise Task IsUserProjectMemberAsync(Guid userId, Guid projectId, CancellationToken cancellationToken = default); }