import { useTenant } from '../../services/TenantService.tsx'; // Authority comes from the live practice. A role edited in the sandbox changes schedules and // screens there; it never changes a real coworker's permissions. Said here, on the screen where // someone would expect otherwise. export const SandboxRoleNote = () => { const { kind } = useTenant(); if (kind !== 'sandbox') return null; return (
Changing a role here changes schedules and screens in the sandbox. It does not change what this person can do; that comes from your live practice.
); };