[Repoze-dev] who.ini with translations?

0 views
Skip to first unread message

alex bodnaru

unread,
Jan 20, 2012, 5:06:15 AM1/20/12
to repoz...@lists.repoze.org, TurboGears

hello friends,

i've made a who.ini loaded with repoze.who.config make_middleware_with_config,
which has a few plugins i needed.
in addition, a translation is needed.

both things were tested separately: authentication works, and the translation
works if i'm skipping authentication in what.ini (loaded by
repoze.what.plugins.quickstart add_auth_from_config).

but together they don't work for me:
loading who.ini first results in an authorization failure due to ignoration of
the translation in what.ini.
loading what.ini first results in skipping the authorization query for groups
and permissions entirely.

how can i use them together, or at least plug a translation when loading who.ini
alone (which has most plugin definitions)?

thanks in advance,
alex
_______________________________________________
Repoze-dev mailing list
Repoz...@lists.repoze.org
http://lists.repoze.org/listinfo/repoze-dev

alex bodnaru

unread,
Jan 21, 2012, 1:29:07 PM1/21/12
to repoz...@lists.repoze.org, TurboGears
On 01/20/2012 12:06 PM, alex bodnaru wrote:
>
> hello friends,
>
well i managed to fix that with repoze.what.plugins.config

as for the translations, i understood it's a sql adapter only feature, so i
coped with them in a plugin invoking that adapter.

thanks again for the oportunity to enjoy the fruits of your work,

> i've made a who.ini loaded with repoze.who.config make_middleware_with_config,
> which has a few plugins i needed.
> in addition, a translation is needed.
>
> both things were tested separately: authentication works, and the translation
> works if i'm skipping authentication in what.ini (loaded by
> repoze.what.plugins.quickstart add_auth_from_config).
>
> but together they don't work for me:

> alex

Reply all
Reply to author
Forward
0 new messages