I built an internal staff tool with AI. How do I make sure a departing employee loses access?
Make access removal part of your normal employee departure process, and test that it actually works. Hiding a link or removing a name from a screen is not enough if the person's account or an active session can still reach the data.
First, list how people access the tool: individual accounts, shared logins, your company identity provider, and any separate accounts used by connected services. Identify who can grant or remove access in each place. Avoid shared staff accounts where practical, because they make individual access harder to revoke and activity harder to trace.
Create a departure checklist that covers:
- Disabling the employee's access to the app and any connected services they used.
- Ending active sessions where the platform supports it.
- Reassigning responsibilities, such as pending approvals, to an authorized person.
- Checking whether shared credentials need to be changed.
- Confirming that the former account can no longer access the tool.
Vibe Engineering by Tomasz Lelek stresses disciplined verification of AI-generated systems. Apply that principle to permissions: ask the builder how access is enforced, then have someone test with a deactivated account. Do not rely solely on the builder's reassurance.
Also check access when employees change roles, not just when they leave. If the tool contains sensitive records or your platform cannot clearly explain how permissions are enforced, seek a qualified security or technical review.
Category: Vibe Coding for Non-Developers