Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/docs/content/guides/database/extensions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ To disable an extension call `drop extension`.

<Admonition type="note">

Most extensions are installed under the `extensions` schema, which is accessible to public by default. To avoid namespace pollution, we do not recommend creating other entities in the `extensions` schema.
Most extensions are installed under the `extensions` schema, which is accessible to `public` by default. To avoid namespace pollution, we do not recommend creating other entities in the `extensions` schema.

If you need to restrict user access to tables managed by extensions, we recommend creating a separate schema for installing that specific extension.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -231,11 +231,16 @@ export function ViewTokenSheet({ visible, tokenId, onClose }: ViewTokenSheetProp
<TableRow>
<TableCell colSpan={2}>
<p className="text-foreground-light text-center py-4">
{(token?.organization_slugs &&
token.organization_slugs.length > 0) ||
(token?.project_refs && token.project_refs.length > 0)
? 'This token has access to specific organizations and projects.'
: 'This token has access to all resources.'}
{token?.scope === 'organization'
? token.organization_slugs &&
token.organization_slugs.length > 0
? 'This token has access to specific organizations.'
: 'This token has no accessible organizations.'
: token?.scope === 'project'
? token.project_refs && token.project_refs.length > 0
? 'This token has access to specific projects.'
: 'This token has no accessible projects.'
: 'This token has access to all resources.'}
</p>
</TableCell>
</TableRow>
Expand Down
Loading
Loading