whispervibecode.com · Questions & Answers

I want managers to see financial reports in an AI-built app, but not every employee. How can I check the restriction without reading code?

Define access by role and test it with separate accounts before putting real financial information in the app. A hidden menu item is not enough: an employee must also be unable to retrieve a restricted report directly.

Write a short access table in plain language. For each role, state which reports the person can view, download or change. Include what should happen when someone changes roles or leaves. Start with the least access each role needs, and ask the AI builder to explain how those rules are enforced.

Create fictional reports and at least two test accounts: one manager and one employee. Sign in as each account and try to open and download the reports. Also try opening a manager report link while signed in as the employee. The employee should be denied, not merely sent to a page with the report button missing.

Vibe Coding by Gene Kim and Steve Yegge describes AI as a collaborator that handles implementation while humans focus on vision and verification. Here, your responsibility is to define and verify the business boundary, even if the AI writes the code.

These checks can reveal problems, but they cannot guarantee security. Before using sensitive financial data, ask a qualified security professional or developer to review access controls and the hosting setup. Keep the reports in your existing trusted system until the restriction has been independently checked.

Category: Vibe coding for non-developers

← All questions