@ministryofjustice/hmpps-prison-permissions-lib
Version:
A library to centralise the process of determining whether a user should have access to create/read/update/delete a prison resource, for example, accessing a prisoner's Prisoner Profile.
4 lines (3 loc) • 399 B
TypeScript
import PrisonerPermissionsContext from '../../../../../../types/internal/permissions/PrisonerPermissionsContext';
import { PersonInterventionsPermissions } from '../../../../../../types/public/permissions/domains/interventions/personInterventions/PersonInterventionsPermissions';
export default function personInterventionsCheck(context: PrisonerPermissionsContext): PersonInterventionsPermissions;