8f39c015ea
This is the first step of a multi-step SaaS engine extraction. Looking ahead to an open source release, we need to make sure that local authentication is treated as an "official" option, and not just a hack I added for Kevin to do load testing outside our DC. So this PR gets to green, and adds a CI step in "local authentication" mode. This all probably feels a little hacky to you, Reader, but the goal of this change is to ease the next step, which will be extracting the 37id and Queenbee integrations into a proprietary "SaaS mode" engine. In service of that goal, this commit simply wraps all of the dependent code and tests with a conditional check on `config.x.local_authentication`.
33 lines
714 B
YAML
33 lines
714 B
YAML
<% digest = BCrypt::Password.create("secret123456") %>
|
|
|
|
david:
|
|
name: David
|
|
email_address: david@37signals.com
|
|
password_digest: <%= digest %>
|
|
role: member
|
|
<% unless Rails.application.config.x.local_authentication %>
|
|
signal_user: 37s_fizzy_david
|
|
<% end %>
|
|
|
|
jz:
|
|
name: JZ
|
|
email_address: jz@37signals.com
|
|
password_digest: <%= digest %>
|
|
role: member
|
|
<% unless Rails.application.config.x.local_authentication %>
|
|
signal_user: 37s_fizzy_jzimdars
|
|
<% end %>
|
|
|
|
kevin:
|
|
name: Kevin
|
|
email_address: kevin@37signals.com
|
|
password_digest: <%= digest %>
|
|
role: admin
|
|
<% unless Rails.application.config.x.local_authentication %>
|
|
signal_user: 37s_fizzy_kevin
|
|
<% end %>
|
|
|
|
system:
|
|
name: System
|
|
role: system
|