summaryrefslogtreecommitdiffstats
path: root/lib/api/kolab_api_service_ou.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/api/kolab_api_service_ou.php')
-rw-r--r--lib/api/kolab_api_service_ou.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/api/kolab_api_service_ou.php b/lib/api/kolab_api_service_ou.php
index 7d0c7d7..aa3c03c 100644
--- a/lib/api/kolab_api_service_ou.php
+++ b/lib/api/kolab_api_service_ou.php
@@ -41,19 +41,19 @@ class kolab_api_service_ou extends kolab_api_service
$effective_rights = $auth->list_rights('ou');
$rights = array();
- if (in_array('add', $effective_rights['entryLevelRights'])) {
+ if (in_array('add', $effective_rights['entrylevelrights'])) {
$rights['add'] = "w";
}
- if (in_array('delete', $effective_rights['entryLevelRights'])) {
+ if (in_array('delete', $effective_rights['entrylevelrights'])) {
$rights['delete'] = "w";
}
- if (in_array('modrdn', $effective_rights['entryLevelRights'])) {
+ if (in_array('modrdn', $effective_rights['entrylevelrights'])) {
$rights['edit'] = "w";
}
- if (in_array('read', $effective_rights['entryLevelRights'])) {
+ if (in_array('read', $effective_rights['entrylevelrights'])) {
$rights['info'] = "r";
$rights['find'] = "r";
$rights['members_list'] = "r";