Tulip Logo IconTulip
Auth

Permissions

Use Tulip permission types and hooks with app-owned Better Auth access control.

Permissions are shared between navigation, commands, tables, inline editing, and route middleware.

Tulip exposes types and client helpers, but the app owns the concrete Better Auth access-control configuration.

Client helpers

import { usePermission } from "@tulip-systems/auth/permissions/client";

const result = usePermission({ permission: { project: ["view"] } });

Where permissions show up

  • sidebar paths
  • command visibility and execution
  • table actions
  • inline editing access
  • ORPC middleware

Continue reading

On this page