public static function get_affected_id($for_id)
    {

        // Without auth, return what we have.
        if (! auth()->check())
            return $for_id;

        if (is_null($for_id))
            return auth()->user()->group->id;

        return $for_id;
    }