Back to Gumroad

Users & authentication

docs/users.md

latest1.3 KB
Original Source

Users & authentication

Users

Running bin/rails db:prepare seeds the database with the following users:

EmailPasswordTeam RoleInternal Admin
[email protected]passwordOwner
[email protected]passwordAdmin
[email protected]passwordMarketing
[email protected]passwordSupport
[email protected]passwordAccountant

Primary user

The primary user is [email protected]. This user also:

  • is an internal admin (can visit /admin)
  • has payout privilege
  • has risk privilege
  • is eligible to create service products (has an account older than User::MIN_AGE_FOR_SERVICE_PRODUCTS)

Team users

The other users allow testing specific team roles on primary user's store: admin, marketing, support, and accountant. They have no internal admin access and no special privileges.

(Note: [email protected] is a store admin, not an internal admin.)

Two-factor authentication

All non-production environments accept 000000 as a two-factor authentication code.