summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2013-08-25 14:17:08 +0200
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2013-08-25 14:17:54 +0200
commitd91cf2eca6c0a0cfaa7f141df1a9bfbe62dfd873 (patch)
tree4c3b3db69b38b990d058a9fff0540d36845917dd /lib
parent497f2c74da74b4960d8cbab8764f0a2d0d0e592c (diff)
downloadwebadmin-d91cf2eca6c0a0cfaa7f141df1a9bfbe62dfd873.tar.gz
Actually use the domain when specified with the capabilities request
Diffstat (limited to 'lib')
-rw-r--r--lib/api/kolab_api_service_group.php2
-rw-r--r--lib/api/kolab_api_service_resource.php2
-rw-r--r--lib/api/kolab_api_service_role.php2
-rw-r--r--lib/api/kolab_api_service_sharedfolder.php2
-rw-r--r--lib/api/kolab_api_service_user.php2
5 files changed, 5 insertions, 5 deletions
diff --git a/lib/api/kolab_api_service_group.php b/lib/api/kolab_api_service_group.php
index e7d7c2b..b1fc2ad 100644
--- a/lib/api/kolab_api_service_group.php
+++ b/lib/api/kolab_api_service_group.php
@@ -39,7 +39,7 @@ class kolab_api_service_group extends kolab_api_service
{
//console("kolab_api_service_group::capabilities");
- $auth = Auth::get_instance();
+ $auth = Auth::get_instance($domain);
$effective_rights = $auth->list_rights('group');
$rights = array();
diff --git a/lib/api/kolab_api_service_resource.php b/lib/api/kolab_api_service_resource.php
index b496bca..149fe57 100644
--- a/lib/api/kolab_api_service_resource.php
+++ b/lib/api/kolab_api_service_resource.php
@@ -39,7 +39,7 @@ class kolab_api_service_resource extends kolab_api_service
{
//console("kolab_api_service_group::capabilities");
- $auth = Auth::get_instance();
+ $auth = Auth::get_instance($domain);
$effective_rights = $auth->list_rights('resource');
$rights = array();
diff --git a/lib/api/kolab_api_service_role.php b/lib/api/kolab_api_service_role.php
index c0e672a..6ca2231 100644
--- a/lib/api/kolab_api_service_role.php
+++ b/lib/api/kolab_api_service_role.php
@@ -39,7 +39,7 @@ class kolab_api_service_role extends kolab_api_service
{
//console("kolab_api_service_role::capabilities");
- $auth = Auth::get_instance();
+ $auth = Auth::get_instance($domain);
$effective_rights = $auth->list_rights('role');
$rights = array();
diff --git a/lib/api/kolab_api_service_sharedfolder.php b/lib/api/kolab_api_service_sharedfolder.php
index 55b060b..6d3a3dd 100644
--- a/lib/api/kolab_api_service_sharedfolder.php
+++ b/lib/api/kolab_api_service_sharedfolder.php
@@ -39,7 +39,7 @@ class kolab_api_service_sharedfolder extends kolab_api_service
{
//console("kolab_api_service_group::capabilities");
- $auth = Auth::get_instance();
+ $auth = Auth::get_instance($domain);
$effective_rights = $auth->list_rights('sharedfolder');
$rights = array();
diff --git a/lib/api/kolab_api_service_user.php b/lib/api/kolab_api_service_user.php
index 9e4cdde..7b6bd0e 100644
--- a/lib/api/kolab_api_service_user.php
+++ b/lib/api/kolab_api_service_user.php
@@ -39,7 +39,7 @@ class kolab_api_service_user extends kolab_api_service
{
//console("kolab_api_service_group::capabilities");
- $auth = Auth::get_instance();
+ $auth = Auth::get_instance($domain);
$effective_rights = $auth->list_rights('user');