Skip to content
This repository was archived by the owner on Sep 19, 2022. It is now read-only.

Commit fbfcdd1

Browse files
committed
Use a whole group name, do not trim vo name.
1 parent bd7fbfd commit fbfcdd1

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/AdapterLdap.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,6 @@ public function getMemberGroups($user, $vo)
4949
"(objectClass=perunGroup)",
5050
array("perunGroupId", "cn", "perunUniqueGroupName", "perunVoId", "description")
5151
);
52-
# SHOULD BE REMOVED, because Perun cannot work with groupName which do not contain voName - edited on 28.6.2017 by michalp
53-
#$groupName = substr($group['perunUniqueGroupName'][0], strlen($vo->getShortName().':'));
5452
array_push($groups, new sspmod_perun_model_Group($group['perunGroupId'][0], $group['perunUniqueGroupName'][0], $group['description'][0]));
5553
}
5654

@@ -73,8 +71,6 @@ public function getSpGroups($spEntityId, $vo)
7371
"(objectClass=perunGroup)",
7472
array("perunGroupId", "cn", "perunUniqueGroupName", "perunVoId", "description")
7573
);
76-
# SHOULD BE REMOVED, because Perun cannot work with groupName which do not contain voName - edited on 28.6.2017 by michalp
77-
#$groupName = substr($group['perunUniqueGroupName'][0], strlen($vo->getShortName().':'));
7874
array_push($groups, new sspmod_perun_model_Group($group['perunGroupId'][0], $group['perunUniqueGroupName'][0], $group['description'][0]));
7975
}
8076
}

0 commit comments

Comments
 (0)