From 705dfe37850e0d1b66fa422b9b11b7f6c7cd3061 Mon Sep 17 00:00:00 2001 From: Miles Lott Date: Mon, 13 Aug 2001 20:49:48 +0000 Subject: [PATCH] Add additional trust relationships --- phpgwapi/inc/class.interserver.inc.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/phpgwapi/inc/class.interserver.inc.php b/phpgwapi/inc/class.interserver.inc.php index 6c9ea9a43e..e03c38d2ea 100644 --- a/phpgwapi/inc/class.interserver.inc.php +++ b/phpgwapi/inc/class.interserver.inc.php @@ -53,9 +53,11 @@ ); var $trust_relationships = array( - 'we request' => 0, - 'they request' => 1, - 'bi-directional' => 2 + 'outbound' => 0, /* No trust, but they may trust us */ + 'inbound' => 1, /* Trust to make requests of us */ + 'passthrough' => 2, /* Trust remote server's trusts also */ + 'bi-directional' => 3, /* We both trust each other */ + 'bi-dir passthrough' => 4 /* We both trust each other, and we trust the remote server's trusts also */ ); var $security_types = array( @@ -349,7 +351,7 @@ $sql = "UPDATE $this->table SET " . "server_name='" . $this->server['server_name'] . "'," . "server_url='" . $this->server['server_url'] . "'," - . "server_mode='" . $this->server['server_mode'] . "'," + . "server_mode='" . $this->server['server_mode'] . "'," . "server_security='" . $this->server['server_security'] . "'," . "trust_level=" . intval($this->server['trust_level']) . "," . "trust_rel=" . intval($this->server['trust_rel']) . ","