Hello
installed the latest version and it works.
As mentioned in the changelog this exception was raised:
SecureResource now raises an AttributeError when no require attribute
is present in the controller class or in the config file. Closes
#1336.
(Note: This might break some "broken" apps, fortunately a detailed
exception is raised advising how to fix it).
Here is the line where it was raised in the root controller:
bs =
SecureDataController(sql_class=fadata,list_widget=fa_status_form,list_template='fa.templates.ports')
bs.require = identiy.in_group("suser")
above code worked before and my question is
how should it be written now ?
Thanks
Db
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---