<br><br><div class="gmail_quote">On Thu, Jan 15, 2009 at 12:02 PM, Chris Cox <span dir="ltr"><<a href="mailto:ccox@endlessnow.com">ccox@endlessnow.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I'm stuck. I have AuthUser installed....<br>
<br>
$DefaultPasswords['admin'] = crypt('secret');<br>
$DefaultPasswords['attr'] = crypt('secret');<br>
$DefaultPasswords['edit'] = 'id:*';<br>
$DefaultPasswords['upload'] = 'edit';<br>
$HandleAuth['upload'] = 'edit';<br>
$HandleAuth['diff'] = 'edit';<br>
<br>
include_once("$FarmD/scripts/authuser.php");<br>
$Author = $AuthId;<br>
<br>
When I go to a page and do ?action=attr I would<br>
love to have just members of the @admins group<br>
have access.... I thought I just needed to supply<br>
@admins for the read password.<br>
<br>
What am I missing? (I have a feeling this is an<br>
easy question... but I couldn't find anything<br>
reading the docs online).<br>
<br>
</blockquote></div><br>If you mean you want to keep visitors away from ?action=attr, add this line...<br>$HandleAuth['attr'] = 'admin';<br><br>If you want to keep people from reading that specific page, say Main.SecretPage, using @admin, then that should just work. Have you assigned users to the @admin group?<br>
<br>Mike<br>