IntegrateWeb.AuthRequiredUnlessNoUsersPlug (IntegrateDB v0.1.0) View Source
Ensures that we have a conn.assigns[:current_user]
.
If not, returns a 401 response with a JSON error payload.
Unless there are no users yet -- which is the case when creating the first root user.