Am 06.05.2010 um 21:05 schrieb Ryan:

Hi, still very new to TG and learning a lot.  I was hoping to use the
AdminController to test my model, and learn more about TG.  We are
trying to wedge an existing SQLAlchemy model from an existing project
into TG.  I thought it would be a quick way to verify everything is
working.

When I connect to admin I get a flash message:
   Current user must belong to the group "managers"

I see in the docs, you can override AdminController with:

class myAdminController(AdminController):
   allow_only = has_permission('manage')

But I cannot find in the docs what strings has_permission takes.  What
can I put there for: has_permission('all')

Remove the allow_only - then the controller is unprotected.

diez

--
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en.

Reply via email to