PolicyEditorFooter() — supabase Function Reference
Architecture documentation for the PolicyEditorFooter() function in PolicyEditorFooter.tsx from the supabase codebase.
Entity Profile
Relationship Graph
Source Code
apps/studio/components/interfaces/Auth/Policies/PolicyEditor/PolicyEditorFooter.tsx lines 10–27
const PolicyEditorFooter = ({
showTemplates,
onViewTemplates = noop,
onReviewPolicy = noop,
}: PolicyEditorFooterProps) => (
<div className="flex justify-between items-center border-t px-6 py-4 border-default">
<div className="flex w-full items-center justify-end gap-2">
{showTemplates && (
<Button type="default" onClick={onViewTemplates}>
View templates
</Button>
)}
<Button type="primary" onClick={onReviewPolicy}>
Review
</Button>
</div>
</div>
)
Domain
Subdomains
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free