protected override bool AuthorizeCore(HttpContextBase httpContext)
    {
        if (YourCurrentUserObject.IsPartofProject(project_id))
        {
            return(true);
        }

        return(false);
    }
    protected override bool AuthorizeCore(HttpContextBase httpContext)
    {
        //get the "project id" somehow
        if (YourCurrentUserObject.IsPartofProject(ProjectId))
        {
            return(true);
        }

        return(false);
    }