<br><div><span class="gmail_quote">On 3/25/06, <b class="gmail_sendername">Tegan Dowling</b> <<a href="mailto:tmdowling@gmail.com">tmdowling@gmail.com</a>> wrote:</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;"><span class="e" id="q_10a2c511a1726070_0"><br></span></div><div style="direction: ltr;">
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>
</div><br></blockquote></div><br>Yikes! I wondered if I had been clear enough in my description. Either I wasn't or I am totally missing what you are saying. So I will give an example of what I am wanting to do:<br><br>
First, there is a page Main.List<br><br>On Main.List, there is the following markup<br><br>[[Subscriber/Issue1]]<br>[[Subscriber/Issue2]]<br>[[Subscriber/Issue3]]<br>[[Subscriber/Issue4]]<br><br>The Main.List page has public read enabled. Therefore ANY user will see the list of four links.
<br><br>Each of the Subscriber group pages, however, has specific (AuthUser) read authority. As user 'Bob', I can see all of the contents of Main.List and if I try to access Issue1 and Issue2 I am successful, but because I do not have authority to read Issue3 and Issue4, I am unsuccessful in accessing those pages. So far, easy.
<br><br>Now, here's what I want to be able to do on Main.List (syntax invented for illustrative purposes)<br><br>[[Subscriber/Issue1]] (:if !auth Subscriber.Issue1 read:) * (:ifend:)<br>[[Subscriber/Issue1]] (:if !auth Subscriber.Issue2
read:) * (:ifend:)<br>[[Subscriber/Issue1]] (:if !auth Subscriber.Issue3 read:) * (:ifend:)<br>[[Subscriber/Issue1]] (:if !auth Subscriber.Issue4 read:) * (:ifend:)<br>[=*=]You must pay to access these issues.<br><br>So user Bob will see the following:
<br clear="all"><br>Issue1<br>Issue2<br>Issue3 *<br>Issue4 *<br><br>* You must pay to access these issues.<br><br>I.e. all the processing occurs in the rendering of Main.List, but authorities for the current user are checked for the other 4 pages in the process.
<br><br>-- <br>Allister