Project

General

Profile

ERF42-7495 » History » Version 1

Dominic Cleal, 06/06/2014 07:40 AM
seeded users

1 1 Dominic Cleal
h1. ERF42-7495
2
3
h2. "Cannot find user foreman_admin when switching context" or "Cannot find user foreman_api_admin when switching context"
4
5
These are two special built-in users.  The first (foreman_admin) is used when Foreman itself needs to make changes to its own database, and foreman_api_admin is used for anonymous API access (e.g. OAuth without user mapping).
6
7
Recreate them by running @foreman-rake db:seed@