| 1234567891011121314151617181920212223242526 |
- import { useParams } from 'common'
- import { InlineLink } from '@/components/ui/InlineLink'
- export const JitDbAccessPreview = () => {
- const { ref = '_' } = useParams()
- return (
- <div className="space-y-4">
- <p className="text-sm text-foreground-light">
- Grant project members temporary database role access through short-lived tokens, controlled
- in <InlineLink href={`/project/${ref}/database/settings`}>Database Settings</InlineLink>.
- </p>
- <div className="space-y-2">
- <p className="text-sm">Enabling this preview will:</p>
- <ul className="list-disc pl-6 text-sm text-foreground-light space-y-1">
- <li>Show temporary access controls in Database Settings</li>
- <li>Allow configuring role grants and member-level temporary access rules</li>
- </ul>
- </div>
- <p className="text-sm text-foreground-light">
- The minimum Postgres version needed for this feature is 17.6.1.081 (or higher).
- </p>
- </div>
- )
- }
|