hi,
I'm rather new to the pyramid world, and would like to build a website with
general openid/oauth support. I've found pyramid_apex, developed a bit, but
I still can't figure out how to get to its protected page.
Basically, the example project in pyramid_apex has a protected view that is
accessible to authenitcated users only:
config.add_view('jatek.views.protected', route_name='protected',
renderer='protected.mako', permission='authenticated')
Eventually, even if according to the flash message I log in successfully, I
am denied from the protected page.
I've even added my logged in user to a group "users", and tried
config.add_view('jatek.views.protected', route_name='protected',
renderer='protected.mako', permission='group:users')
but it failed too.
One last note that might be important is, that when I log in, according to
the sqlalchemy logs a transaction starts that would insert all my data into
the database, but it never actually gets committed.
My idea is that it's never committed as the permission is denied, thus
everything is rolled back (but there is not rollback statement in the logs).
Could someone tell me how to set up my pyramid environment to get these up
and running?
bye, Viktor
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/pylons-discuss?hl=en.