[PATCH conductor] BZ#806001 - Create default admin via database seeds
Jason Guiditta
jguiditt at redhat.com
Thu Jun 21 18:34:15 UTC 2012
On 20/06/12 18:09 -0400, John Eckersberg wrote:
>Previously, the default admin user was created by aeolus-configure,
>but this approach was confusing for users. By creating the admin as
>part of the database seeds, we are guaranteed to always have a usable
>admin user at first login. The expecation is for administrative users
>to be managed via the web UI (or API), not via configure.
>---
> src/db/seeds.rb | 14 ++++++++++++++
> 1 file changed, 14 insertions(+)
I have not tested this, but looks reasonable on quick viewing (this is
not an ack or nack btw). However, I am wondering if this could/shoudl
be added $elsewhere, like scott did with the new roles, which I
believe gets called via our rake dc:upgrade script. I guess it might
be safe for an existing installation, and I wil roll with that if you
think it is, just wanted to make sure we thought of that case before
introducing new seed data.
-j
More information about the aeolus-devel
mailing list