On 3/24/06, <b class="gmail_sendername">Allister Jenks</b> <<a href="mailto:arj@zkarj.co.nz">arj@zkarj.co.nz</a>> 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. Each user may have
access to none, some or all of those pages. I want all users to
see all 10 links but I want to visually mark those they have access
to. The idea is I want them to see what they're missing, so they
will fork over some money to see them. 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>
(:if !equal {$PasswdEdit} "":) -- current page has an edit password<br>
(:if equal {$PasswdEdit} "@_nopass":) -- edit password is set to "@_nopass"<br>
<br>
other built-in authorization groups I'm considering are<br>
<br>
@_nopass no password is needed (currently "nopass")<br>
@_authid person is authenticated (currently "id:*")<br>
@_edit use site edit privileges<br>
@_admin locked to all users except admin<br>
@_locked 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>