mirror of
https://github.com/supabase/supabase.git
synced 2026-12-06 16:39:05 +00:00
match token guidance to the permission picker
This commit is contained in:
1 parent
dab16bc635
commit
0801cbbded
1 file changed
+3
-1
@@ -1,3 +1,4 @@
|
||||
import { PERMISSION_MODE_LABEL } from 'shared-data/scoped-access-token-permissions'
|
||||
import { Select, SelectContent, SelectItem, SelectSeparator, SelectTrigger, SelectValue } from 'ui'
|
||||
import { FormItemLayout } from 'ui-patterns/form/FormItemLayout/FormItemLayout'
|
||||
|
||||
@@ -21,7 +22,8 @@ export function TemporaryAccessPasswordNote({ tokenHref }: { tokenHref?: string
|
||||
|
||||
return (
|
||||
<p className="text-sm text-foreground-lighter mb-1">
|
||||
Use a {tokenLabel} as the password. For a scoped token, set Database token access to Read.{' '}
|
||||
Use a {tokenLabel} as the password. For a scoped token, set Database token access to{' '}
|
||||
{PERMISSION_MODE_LABEL.read}.{' '}
|
||||
<InlineLink href={`${DOCS_URL}/guides/platform/temporary-access`}>Learn more</InlineLink>
|
||||
</p>
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user