Merge branch 'auth-openid'
[phorkie.git] / data / config.default.php
index 0c9ec69fee54ec949922aa47d0c794bafb73f792..a0877678344dccf15e30eaee6aec9452b90a8536 100644 (file)
@@ -13,10 +13,13 @@ $GLOBALS['phorkie']['cfg'] = array(
     'index'         => 'new'//"new" or "list"
 );
 $GLOBALS['phorkie']['auth'] = array(
-    'securityLevel'  => 0,                   // 0 = public, no authentication, 1 = protect adds/edits/deletes, 2 = require authentication
-    'userlist'       => false,               // true = user must be explicitly defined, false = anyone allowed, but they must authenticate
-    'anonymousName'  => 'Anonymous',         // Email for non-authenticated commits
-    'anonymousEmail' => 'anonymous@phorkie'  // Email for non-authenticated commits
+    // 0 = public, no authentication, 1 = protect adds/edits/deletes,
+    // 2 = require authentication
+    'securityLevel'   => 0,
+    'listedUsersOnly' => false,
+    'users'           => array(),             // Array of OpenIDs that may login
+    'anonymousName'   => 'Anonymous',         // Email for non-authenticated commits
+    'anonymousEmail'  => 'anonymous@phorkie', // Email for non-authenticated commits
 );
 $GLOBALS['phorkie']['tools'] = array(
     '\\phorkie\\Tool_Xmllint' => true,