aboutsummaryrefslogtreecommitdiff
path: root/data/config.default.php
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2012-09-18 07:46:49 +0200
committerChristian Weiske <cweiske@cweiske.de>2012-09-18 07:46:49 +0200
commit8aa0b9bda25f570e591e554bdbece99d5f6458c8 (patch)
tree18d8258dc8ef7dbf5bd9c9fda0191925f7172cce /data/config.default.php
parent3367fca1c9cdeb70c95154f20011b268d4d080a4 (diff)
downloadphorkie-8aa0b9bda25f570e591e554bdbece99d5f6458c8.tar.gz
phorkie-8aa0b9bda25f570e591e554bdbece99d5f6458c8.zip
rename auth configuration variables to make them more readable
Diffstat (limited to 'data/config.default.php')
-rw-r--r--data/config.default.php9
1 files changed, 6 insertions, 3 deletions
diff --git a/data/config.default.php b/data/config.default.php
index 0c9ec69..a0270b5 100644
--- a/data/config.default.php
+++ b/data/config.default.php
@@ -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,