[jifty-devel] Authentication::Password instructions in Manual::AccessControl not producing users table in db

Andrew Sterling Hanenkamp sterling at hanenkamp.com
Mon Jul 2 08:51:55 EDT 2007


I can only guess that their's something minute wrong with your model. Can
you post it? If that's not the case, then something could be wrong elsewhere
in your app that's causing a failure that's not being reported. There's also
a chance that something about those plugins is broken in trunk.

When schema --setup runs, you should see a line in the output like:

INFO - Using App::Model::User, as it appears to be new.

and it should end with:

INFO - Set up version v0.0.1, jifty version 0.701290

(where your actual version numbers, at least for jifty, should be
different).

If you don't see that output, something isn't working correctly (or you've
turned the log level up to WARN or higher, which I'd recommend against
during development).

Cheers,
Andrew

On 7/1/07, Matthew Lenz <matthew at nocturnal.org> wrote:
>
> On Mon, 2007-07-02 at 01:13 +0100, Chia-liang Kao wrote:
> > 於 日,2007-07-01 於 18:13 -0500,Matthew Lenz 提到:
> > > Following instructions in the trunk version of Manual::AccessControl
> > > which details the use of the Authentication::Password plugin.  No
> errors
> > > are returned upon schema --setup but looking in the db there is no
> users
> > > table (and the interface confirms the problem when attempting to sign
> > > up).
> > >
> > > I assume that additional columns are not a requirement in the
> > > *::Model::User when attempting to use this plugin?
> >
> > You probably want to use Jifty::Plugin::User::Mixin::Model::User from
> > your user model.
> >
> > Cheers,
> > CLK
>
> Yeah I already have:
>
> use Jifty::Plugin::User::Mixin::Model::User;
> use Jifty::Plugin::Authentication::Password::Mixin::Model::User;
>
> Per the instructions in Manual::AccessControl
>
> >
> > _______________________________________________
> > jifty-devel mailing list
> > jifty-devel at lists.jifty.org
> > http://lists.jifty.org/cgi-bin/mailman/listinfo/jifty-devel
>
> _______________________________________________
> jifty-devel mailing list
> jifty-devel at lists.jifty.org
> http://lists.jifty.org/cgi-bin/mailman/listinfo/jifty-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.bestpractical.com/pipermail/jifty-devel/attachments/20070702/07db52e2/attachment.htm


More information about the jifty-devel mailing list