Complete AI Training
Sign inGet my AI kit

Your job's AI kit

Get your AI kit

Tell us who you are and what you do. We show you your kit right away and email you the link: skills, prompts, AI agents, MCP servers and courses for your job.

500+ jobs ready, and we make a kit for any other job. No payment needed to look.

Share

AI agent for salesforce administrators

Role and Permission Test Agent

Show that every role sees and does exactly what the access matrix says

Role and Permission Test Agent: what goes in, what the agent does and what you get

What it does

A new field is visible to every role, or a delete button appears for interns. This agent logs in as each test role in a test copy, walks the key screens and actions, and records what it can see, edit and delete. It compares the result with the access matrix that says what each role should be able to do, and lists every mismatch: too much access, too little access and hidden data that appears in a report or export. After the builder changes the access rules, it reruns the same tests and a sample of the others. It keeps a record of passing runs. The builder approves access changes. Edge case: a role can see a record through a shared report even if the object permission blocks it, so the agent tests reports and exports too.

How it works

Follow the arrows from top to bottom. The orange dashed arrow is the loop: when a check fails, the agent goes back and tries again.

Start and resultWhat it doesA check on its own workWaits for your OKGoes back and retries
ApprovedYes, continueNo 1 STARTS WHEN Release or access change 2 USES A TOOL Read the access matrix and list the roles 3 USES A TOOL Log in as each test role in the test copy 4 USES A TOOL Walk screens, actions, reports and exports 5 DOES Compare observed access with the matrix 6 DOES List mismatches ranked by risk 7 YOU APPROVE Builder approves access changes 8 USES A TOOL Builder applies the changes; agent reruns the failedtests and a sample 9 CHECKS THE RESULT Do all roles now match the matrix with no newmismatches? If not: list the remaining and new mismatches and testagain. Back to step 3. 10 RESULT Role test report and record
Read the steps as a list
  1. Release or access change
  2. Read the access matrix and list the roles
  3. Log in as each test role in the test copy
  4. Walk screens, actions, reports and exports
  5. Compare observed access with the matrix
  6. List mismatches ranked by risk
  7. Builder approves access changesThe agent waits here for your OK.
  8. Builder applies the changes; agent reruns the failed tests and a sample
  9. Do all roles now match the matrix with no new mismatches?If not: list the remaining and new mismatches and test again. Back to step 3.
  10. Role test report and record

How it decides

It marks any difference between observed and expected access as a mismatch and ranks too much access above too little.

  • Rank access to personal or financial data above all other mismatches
  • Test reports, exports and search as well as screens
  • Rerun 20% of the passing tests after any change
  • Treat any extra delete rights as high risk

Make it yours

Every agent is a starting point. You choose these settings for your own situation.

  • Roles and test accounts
  • Key screens and actions
  • Access matrix location
  • Sample size for reruns (default 20%)
  • Report format

What keeps you in control

It always asks you first

  • Builder approves access changes
  • Data owner approves any change to who can see sensitive data

Hard limits

  • Use only test accounts and test data
  • Never change access rules without approval

It stops when

  • Done: every role matches the matrix
  • Stop: the matrix itself is unclear and the owner must decide

Set it up

We guide you through the set-up, step by step

Members get the full set-up guide for this agent. No technical skills needed: you copy, paste and upload.

10 minto set it up in your AI
5 AIsChatGPT, Claude, Copilot, Gemini, Grok
  • One set of instructions to paste into your AI, with the clicks for ChatGPT, Claude, Microsoft 365 Copilot, Gemini and Grok
  • The agent then walks you through connecting your own data, one source at a time
  • A downloadable copy with the flow chart, the rules and the full guide
Get access to this agent

An example run

What happensFor a customer app with 5 roles, the agent tested 86 actions. Support Agent could export the full customer list, and Intern could delete notes. The builder fixed both. The rerun found Support Agent could no longer export but also could no longer view tickets, so the check failed. The builder corrected the rule, and a third run matched the matrix for all 5 roles.

More agents for salesforce administrators