import { PERMISSIONS } from "@/app/permissions";
import { useAuth } from "@/app/auth/AuthProvider.jsx";

export function useVipConfigAbilities() {
    const { can } = useAuth();
    return {
        canView: can(PERMISSIONS.vipConfigView),
        canUpdate: can(PERMISSIONS.vipConfigUpdate),
    };
}
