参拾萬.jp > PukiWikiのカスタマイズ > 俺しか編集できない設定
loginプラグインを利用します。
$auth_type = 'session'; session_start();session_regenerate_id(TRUE);
///////////////////////////////////////////////// // User definition $auth_users = array( // Username => password 'foo' => 'foo_passwd', // Cleartext 'bar' => '{x-php-md5}f53ae779077e987718cc285b14dfbe86', // PHP md5() 'bar_passwd' 'hoge' => '{SMD5}OzJo/boHwM4q5R+g7LCOx2xGMkFKRVEx', // LDAP SMD5 'hoge_passwd' 'hogehogehoge' => '{x-php-md5}xxxxxx', // 編集許可グループ => パスワード ); ---中略--- ///////////////////////////////////////////////// // Edit auth (0:Disable, 1:Enable) //$edit_auth = 0; $edit_auth = 1; $edit_auth_pages = array( // Regex Username '#BarDiary#' => 'bar', '#HogeHoge#' => 'hoge', '#(NETABARE|NetaBare)#' => 'foo,bar,hoge', '/^.*$/' => 'hogehogehoge', // 編集制限ページ(正規表現) => 編集許可グループ名 );