rename auth configuration variables to make them more readable
[phorkie.git] / data / config.default.php
index 0c9ec69fee54ec949922aa47d0c794bafb73f792..a0270b51e90c4bb4078964c0251d9c11196eb7fb 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
+    // 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
+    'anonymousEmail' => 'anonymous@phorkie', // Email for non-authenticated commits
 );
 $GLOBALS['phorkie']['tools'] = array(
     '\\phorkie\\Tool_Xmllint' => true,