Skip to content

TaskView is a self-hosted project and task management platform focused on clarity, ownership, and control. TaskView is built for teams that want a transparent, self-hosted alternative to SaaS task managers.

258 B
Raw Blame
import type { NextFunction, Request, Response } from 'express';

export const canFetchGoals = async (req: Request, res: Response, next: NextFunction) => {
    if (!req.appUser.isBlocked()) {
        return next();
    }

    return res.status(403).end();
};