Warning: Undefined variable $UploadMaxSize in /home/kongdmdu/pmichaud/pmwiki/local/PITS.php on line 8

Warning: Undefined variable $UploadMaxSize in /home/kongdmdu/pmichaud/pmwiki/local/PITS.php on line 9

Warning: Undefined variable $UploadMaxSize in /home/kongdmdu/pmichaud/pmwiki/local/PITS.php on line 10

Warning: Undefined variable $UploadMaxSize in /home/kongdmdu/pmichaud/pmwiki/local/PITS.php on line 11

Warning: Undefined array key "pmwiki" in /home/kongdmdu/pmichaud/pmwiki/pub/skins/vector/vector.php on line 14

Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/kongdmdu/pmichaud/pmwiki/pub/skins/vector/vector.php on line 14

Warning: Undefined array key "pagename" in /home/kongdmdu/pmichaud/pmwiki/pub/skins/vector/vector.php on line 225

Warning: Undefined array key "pagename" in /home/kongdmdu/pmichaud/pmwiki/pub/skins/vector/vector.php on line 253
00998: Let page passwords be references - PITS - PmWiki

00998: Let page passwords be references

Summary: Let page passwords be references
Created: 2007-12-17 03:41
Status: Closed - exists and fixed for 2.2.3
Category: CoreCandidate
Assigned:
Priority: 555554
Version:
OS:

Description: Let an administrator change the page password for a group of pages in a single place, instead of having to do it page by page. (Please keep it compatible with AuthUser, even though it's page-centric rather than user-centric.)

Secondments:

I'd definitely very much appreciate that. Changing passwords at the moment is, really, difficult. Thank you
~Mike

~Simon

Kathryn Andersen

How about password-centric rather than page-centric? Consider this:

  $DefaultPasswords['MyPassword2'] = array(crypt('secret'), '@admins');
  $DefaultPasswords['MyPassword9'] = array('$1$NuBV/Mcc$GG3J60h.TLczUTRKhoVPM.');

And in the Group or Page Attributes we enter:

  @_site_MyPassword2

You can have MyPassword1, MyPassword2, MyPassword3, etc. This now works for single pages (and from version 2.2.3 it will work for GroupAttributes too). I believe this way is even easier to maintain than via passwords read from another wiki page as the Summary suggests. (We could also write a small recipe if someone needs this.) --Petko July 15, 2009, at 07:51 AM