summaryrefslogtreecommitdiffstats
path: root/lib/api/kolab_api_service_role.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/api/kolab_api_service_role.php')
-rw-r--r--lib/api/kolab_api_service_role.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/api/kolab_api_service_role.php b/lib/api/kolab_api_service_role.php
index f6353b0..2873a12 100644
--- a/lib/api/kolab_api_service_role.php
+++ b/lib/api/kolab_api_service_role.php
@@ -43,19 +43,19 @@ class kolab_api_service_role extends kolab_api_service
$effective_rights = $auth->list_rights('role');
$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";