Only the HR role in Chef can close a computer account/terminate employment for an employeeFor role:
HR (employees)
Resource administrators (contractors)
When someone gives notice and/or their contract comes to an end, it may be necessary to terminate their computer account.
Enter the resource ID of the person whose computer account will be closed.
...
You can choose a new end date using the calendar date-picker if you want to indicate the computer account should be disabled on a specific date in the future, or click the ‘Terminate immediately’ checkbox if you want to disable the computer account right now.
...
Take whichever action is appropriate, then click the ‘Terminate’ button.