[jifty-devel] LDAP Plugins

Max Baker max at warped.org
Fri Dec 12 12:33:21 EST 2008


Yves Agostini wrote:
>
> I think you need the "Mixin User" plugin as ldap plugin add new user in
> this table
>
> so you need something like :
>
> use yourApp::Record schema {
>  ....
> };
>
> use Jifty::Plugin::User::Mixin::Model::User;
> use Jifty::Plugin::Authentication::Ldap::Mixin::Model::User;
>
>   

I did actually have that in my Model/User.pm ,  I forgot to put it here.


> take care with current_user_can maybe you can't read or can't write
> you can try with :
>
> sub current_user_can {
>     my $self = shift;
>     my $type = shift;
>     my %args = (@_);
>     
>     return 1;
> }
>   
Success!   Beautiful.   I'll update the POD to reflect all this and add 
it to the patch.

Thanks,
-m


More information about the jifty-devel mailing list