<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
John Toews wrote:
<blockquote
 cite="mid189f52f10601051913q508420fsf38c981c1a8e470a@mail.gmail.com"
 type="cite">Hi all,<br>
  <br>
I have a need to restrict anonymous access to an object until after a
specific action occurs. For example, the View permission by default is
restricted to owner and manager, but after a 'release' flag is checked,
it is viewable to anyone. I can't seem to find a way to do this
programatically, after googling for a few hours over the past few
weeks. Is it possible? I think the user running the action would need
'change permissions' rights... is there anyway to override that?<br>
  <br>
Thanks again!<br>
John<br>
  <pre wrap="">
<hr size="4" width="90%"></pre>
</blockquote>
<br>
John,<br>
<br>
Here's a solution that at best will stimulate a better answer :-)<br>
<br>
&lt;a href="somePath"&nbsp; <br>
&nbsp;&nbsp;&nbsp;&nbsp; tal:condition="python:&nbsp; request.get(releaseFlag,0)"&gt;some link<br>
&lt;/a<br>
or<br>
&lt;a href="someOtherPath"&nbsp; <br>
&nbsp;&nbsp;&nbsp;&nbsp; tal:condition="python:&nbsp; not request.get(releaseFlag,0)"&gt;some
other link<br>
&lt;/a&gt;<br>
<br>
<br>
David<br>
&nbsp;&nbsp;&nbsp; <br>
</body>
</html>