On 3/24/06, <b class="gmail_sendername">Allister Jenks</b> &lt;<a href="mailto:arj@zkarj.co.nz">arj@zkarj.co.nz</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style="direction: ltr;">Hi all,<br><br>Is it possible to condition text on the current user's authority to another named page?<br><br>I
want to show a list of links to say 10 pages.&nbsp; Each user may have
access to none, some or all of those pages.&nbsp; I want all users to
see all 10 links but I want to visually mark those they have access
to.&nbsp; The idea is I want them to see what they're missing, so they
will fork over some money to see them.&nbsp; I'm not sure yet, but I
think I want the links to be images.
<br><br>
</div></blockquote></div><br>
Some time ago, in another thread, PM said he was considering these:<br>
<br>
&nbsp;(:if !equal {$PasswdEdit} &quot;&quot;:) -- current page has an edit password<br>
&nbsp;(:if equal {$PasswdEdit} &quot;@_nopass&quot;:) -- edit password is set to &quot;@_nopass&quot;<br>
<br>
other built-in authorization groups I'm considering are<br>
<br>
&nbsp;&nbsp; @_nopass&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; no password is needed (currently &quot;nopass&quot;)<br>
&nbsp;&nbsp; @_authid&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; person is authenticated (currently &quot;id:*&quot;)<br>
&nbsp;&nbsp; @_edit&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; use site edit privileges<br>
&nbsp;&nbsp; @_admin&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; locked to all users except admin<br>
&nbsp;&nbsp; @_locked&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; same as @_admin<br>
<br>
I haven't worked with AuthUser since 2.0, so I don't know whether the
authorization groups or the {$PasswdEdit} variable have been built into
the script, but if they have been or are, some of this might be
useful...<br>