import { LOCAL_STORAGE_KEYS } from 'common' import { Badge, Button } from 'ui' import { Admonition } from 'ui-patterns/Admonition' import { useLocalStorageQuery } from '@/hooks/misc/useLocalStorage' import { DOCS_URL } from '@/lib/constants' export const MigrationAdmonition = () => { const [isDismissed, setIsDismissed] = useLocalStorageQuery( LOCAL_STORAGE_KEYS.SCOPED_TOKENS_MIGRATION_ADMONITION_DISMISSED, false ) if (isDismissed) return null return ( } >

Choose which organizations and projects each new token can reach, and what it can do there. Grant only what its integration needs.

Tokens with full account access show a Legacy badge and keep working until they expire or you delete them.
) }