summaryrefslogtreecommitdiffstats
path: root/lib/api/kolab_api_service_ou.php
diff options
context:
space:
mode:
authorJeroen van Meeuwen <kanarip@kanarip.ch>2019-10-21 13:14:47 +0200
committerJeroen van Meeuwen <kanarip@kanarip.ch>2019-10-21 13:14:47 +0200
commitd8b844e587b38b77b31548e35aa037ab0d86014c (patch)
tree281d25fcbe1a857d26605396663244589802a9aa /lib/api/kolab_api_service_ou.php
parent3bcbae57966527f43674271f25e0e0b6455cdfd0 (diff)
downloadwebadmin-d8b844e587b38b77b31548e35aa037ab0d86014c.tar.gz
Lower-case the names of array keyskolab-webadmin-3.2.15
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";