Source: https://everyrole.dev/how-it-works/kinds-of-user

# Kinds of user

Who may open what.

Who may open what

A grid of pages and kinds of user: a visitor, a member and an admin each try every page. Each page opens for the people who may see it and sends everyone else away. The member tries the admin page and is blocked, as expected.

## The visitor first, with nothing from you

Role-based testing starts with the visitor. Signed out, EveryRole already explores everything a visitor can reach: no password, no access, only your address.

## Then each kind of user you add

Member, admin, paying customer, viewer: each gets its own journeys. Signing in needs no password of yours: [a one-time login link from your app](https://everyrole.dev/docs#login-links), or [the tests run in your own CI](https://everyrole.dev/docs#ci), so your logins never leave it. A test account you make for it, never your own, ideally on staging, is the last option.

A kind of user marked admin is explored and tested only on staging or previews, unless you allow production.

EveryRole ![The setting Admin tests on production in EveryRole, off: admins are tested only on staging or previews](https://everyrole.dev/s/site/how/admin-production.webp)

Admin tests stay off production until you allow them. A test app.

EveryRole ![The kinds of user of an app in EveryRole: the visitor, with no login needed, and an editor, signed in](https://everyrole.dev/s/site/how/kinds.webp)

Kinds of user: the visitor needs no login, the others sign in. A test app.

## Who may open what

At every stop, for every other kind of user, code reads two things: does the page open or send them away, and is the control there, missing or turned off. So “can open the page but can’t do it”, a viewer against an editor, a free user against a paid one, is tested too.

And what one user made, another opens by its address and must be refused.

- Opensfor someone who may see it
- Blockedsomeone who may not was sent away, as they should be
- Brokensomeone who may not got in

## Keep reading

Roles and permissions

### [Role-based testing: your app is several apps](https://everyrole.dev/blog/role-based-testing)

Role based testing means running each journey as every kind of user, each with its own expected result. One suite run as admin tests one of your apps.

Nov 22, 2026  5 min read

Roles and permissions

### [Permission testing: build an access matrix for your app](https://everyrole.dev/blog/permission-testing-access-matrix)

Permission testing starts with a table: pages down, kinds of user across. Fill in every cell, then test every cell. The ones you can’t fill are the risk.

Nov 22, 2026  5 min read

Roles and permissions

### [IDOR testing: open another user’s item by its URL](https://everyrole.dev/blog/idor-testing)

IDOR testing in one move. Log in as a second user, type the address of the first user’s item, and the app must answer not found. How to run it on every deploy.

Nov 22, 2026  6 min read

## See it on your own app.
