<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
(I've switched this thread to pmwiki-devel because this is starting to
feel like a development issue).<br>
<br>
Now that I've set <br>
<br>
$DefaultPasswords['publish']='@_site_edit';<br>
<br>
... (to solve the disabled "Publish" button problem) ...<br>
<br>
I get "(using publish password)" beside the *attribute* password of my
test group:<br>
<br>
<table>
<tbody>
<tr>
<td>Set new read password:</td>
<td><input name="passwdread" value="" type="text"></td>
<td>@_site_edit</td>
</tr>
<tr>
<td>Set new edit password:</td>
<td><input name="passwdedit" value="" type="text"></td>
<td>@_site_edit</td>
</tr>
<tr>
<td>Set new attribute password:</td>
<td><input name="passwdattr" value="" type="text"></td>
<td>(using publish password)</td>
</tr>
</tbody>
</table>
<br>
Then if I set <br>
<br>
$EnablePublishAttr = 1;<br>
<br>
I get...<br>
<br>
<table>
<tbody>
<tr>
<td>Set new read password:</td>
<td><input name="passwdread" value="" type="text"></td>
<td>@_site_edit</td>
</tr>
<tr>
<td>Set new edit password:</td>
<td><input name="passwdedit" value="" type="text"></td>
<td>@_site_edit</td>
</tr>
<tr>
<td>Set new attribute password:</td>
<td><input name="passwdattr" value="" type="text"></td>
<td>(using publish password)</td>
</tr>
<tr>
<td>Set new publish password:</td>
<td><input name="passwdpublish" value="" type="text"></td>
<td>(set by site) @_site_edit</td>
</tr>
<tr>
<td>Set new upload password:</td>
<td><input name="passwdupload" value="" type="text"></td>
<td><br>
</td>
</tr>
</tbody>
</table>
<br>
(Note that nowhere have I set an attribute password)<br>
<br>
... all of which still doesn't let me into the passworded group if I
login elsewhere using the site edit password.<br>
<br>
For that matter no password (other than the admin password) now works
to let me read the group that is passworded above.<br>
<br>
Any insights welcome.<br>
<br>
- Henrik<br>
<br>
<br>
Henrik Bechmann wrote:
<blockquote cite="mid:BAYC1-PASMTP01F89839A82F5356E351648CCF0@CEZ.ICE"
type="cite">
<pre wrap="">Update:
I've tried adding "@_site_edit" to the group read password attribute
field, and just for the heck of it, to the edit password attribute
field. But it seems no matter what I do I am challenged for a "read"
password when I go to edit a read-protected group, after logging in with
a site-wide edit password. No doubt there is a simple way to do this,
but I can't seem to find it right now.
My goals:
1. Set a read password to keep a group hidden from the public.
2. Set a site-wide edit password, that will let editors both read and
edit the read-passworded group of #1 above, without being challenged for
an additional password.
Can anyone explain how to do this?
Thanks,
- Henrik
Henrik Bechmann wrote:
</pre>
<blockquote type="cite">
<pre wrap="">When I login with a site-wide edit password, I am challenged for an
additional *read* password for a group for which I have set a read password.
I'm having a little trouble fathoming this. I thought that an edit
password trumps a read password. Can anyone explain?
Thanks,
- Henrik
</pre>
</blockquote>
<pre wrap=""><!---->
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Henrik Bechmann
bechmann.ca
Webmaster, celos.ca webhosting services</pre>
</body>
</html>