On 1/29/06, <b class="gmail_sendername">Tegan Dowling</b> &lt;<a href="mailto:tmdowling@gmail.com">tmdowling@gmail.com</a>&gt; wrote:<br>
<div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>On 1/29/06, <b class="gmail_sendername">Ryan D'Baisse</b> &lt;<a href="mailto:ryan.dbaisse@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
ryan.dbaisse@gmail.com</a>&gt; wrote:<span class="e" id="q_109170c4c2448cd0_1"><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;">

Am I just not getting something?&nbsp;&nbsp;I was under the impression that the<br>default passwords had a hierarchy effect.&nbsp;&nbsp;I thought, they worked in<br>the following order...<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;READ: Visitors can read content<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;EDIT: Visitors can read and edit content
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;UPLOAD: Visitors can read, edit, and upload content<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ATTR: Visitors can read, edit, upload, and change attributes<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ADMIN: The equivalent of a &quot;PmGod&quot; ... can do anything<br><br>Is this not the case?
<br><br>For this reason, I had the following passwords<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;READ: password01<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;EDIT: password02<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;UPLOAD: password02<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ATTR: password03<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ADMIN: password03<br><br>Unfortunately, this had problems:
<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1. Visitors logging in with &quot;password01&quot; could read and edit<br>pages... not good; and,<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2. Visitors could not log in with &quot;password02&quot; at all (regardless of<br>how many times I reset it).
<br><br>What am I missing?&nbsp;&nbsp;I would like to have the following...<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A. Visitors logging in with &quot;password01&quot; should be able to read the<br>site but not edit or alter anything;<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;B. Visitors logging in with &quot;password02&quot; should be able to read,
<br>edit, and upload; and,<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;C. Visitors logging in with &quot;password03&quot; should be able to do<br>anything with the site.<br><br>Is this possible?&nbsp;&nbsp;If so, how do I accomplish this?</blockquote></div></span>
</div></blockquote><div><br>
</div>You may have an error somewhere, since as you have it, password01 should definitely not be enabling users to edit.<br>

<br>

But you also have a misunderstanding: if you want password02 to enable
editing of pages that are read-protected, you also have to also make
password02 a read-password.<br>

<br>

Maybe you should review <a href="http://www.pmwiki.org/wiki/PmWiki/PasswordsAdmin" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.pmwiki.org/wiki/PmWiki/PasswordsAdmin</a>?<span class="e" id="q_109170c4c2448cd0_1">
<br>
</span><br>
------------<br>
<br>
(Sorry about the top-post, previously - <span style="font-style: italic;">stupid </span>computers.)<br>
<br>
We have something like this in our config.php files:<br>
<br>
&nbsp;&nbsp;&nbsp; // Passwords<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; $PmWikiAdminPassword = crypt('password03');<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; $PmWikiReadEditUploadPassword = crypt('password02');<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; $DefaultPasswords['admin'] = $PmWikiAdminPassword;<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; $DefaultPasswords['read'] =
array(crypt('password01'),
$PmWikiReadEditUploadPassword);&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; $DefaultPasswords['attr'] = $PmWikiAdminPassword;<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; $DefaultPasswords['edit'] = $PmWikiReadEditUploadPassword;<br>
<br>
&nbsp;&nbsp;&nbsp; //&nbsp; Uploads<br>
<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; $EnableUpload = 1;<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; $UploadUrlFmt = $ScriptUrl.'/uploads';<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; $DefaultPasswords['upload'] = $PmWikiReadEditUploadPassword;<br>
<br>
</div><br>