Access authenticated user and capability check function.
const { user, can } = useAuth();if (can('local/middag:manage')) { ... } Copy
const { user, can } = useAuth();if (can('local/middag:manage')) { ... }
Access authenticated user and capability check function.