If I understand what you're trying to do, maybe this will help:

The way I do it is in the kid templates - links don't show up unless a
person has the proper qualifications.  I use py:if's for this.  Here's
an example from one of my pages:

<a py:if="not std.identity.anonymous"
href="${std.url('/edit',alt_ID=img['alt_ID
'])}">Edit Description of this picture</a><br/>

That lets anyone who's logged access my edit method, but you could also
make it more restrictive for only allowing certain users, groups, or
permission-holding users through.

Hope this helps.
Mike


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to