summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-04-08 12:38:56 +0200
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-04-08 12:38:56 +0200
commit05ccb02d08805a7cae8852c82378126c26989cd9 (patch)
tree65acc08505e46f39bfc486a0ab6b16cdba0f22fe
parent54f6a96bbbd67f9303a32f159d4ddc529b944fa1 (diff)
downloadwebadmin-05ccb02d08805a7cae8852c82378126c26989cd9.tar.gz
Use the correct service to call the API service method effective_rights() on
-rw-r--r--lib/kolab_client_task.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kolab_client_task.php b/lib/kolab_client_task.php
index 4ccb5a4..7f14df4 100644
--- a/lib/kolab_client_task.php
+++ b/lib/kolab_client_task.php
@@ -851,7 +851,7 @@ class kolab_client_task
}
// Get the rights on the entry and attribute level
- $result = $this->api->get("user.effective_rights", array($name => $data['id']));
+ $result = $this->api->get($name . ".effective_rights", array($name => $data['id']));
$attribute_rights = $result->get('attributeLevelRights');
$entry_rights = $result->get('entryLevelRights');