Home / Function/ AllowAllAccessButton() — supabase Function Reference

AllowAllAccessButton() — supabase Function Reference

Architecture documentation for the AllowAllAccessButton() function in NetworkRestrictions.tsx from the supabase codebase.

Entity Profile

Relationship Graph

Source Code

apps/studio/components/interfaces/Settings/Database/NetworkRestrictions/NetworkRestrictions.tsx lines 46–59

const AllowAllAccessButton = ({ disabled, onClick }: AccessButtonProps) => (
  <Tooltip>
    <TooltipTrigger asChild>
      <Button type="default" disabled={disabled} onClick={() => onClick(true)}>
        Allow all access
      </Button>
    </TooltipTrigger>
    {disabled && (
      <TooltipContent side="bottom">
        You need additional permissions to update network restrictions
      </TooltipContent>
    )}
  </Tooltip>
)

Subdomains

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free