[full-ci] Bump libre-graph-api-go and drive group permissions (#5312)
* Bump libre-graph-api-go Expose drive group permissions Co-authored-by: kobergj <jkoberg@owncloud.com>
This commit is contained in:
co-authored by
kobergj
parent
d8bc4a7ddc
commit
21797fb22d
@@ -1018,8 +1018,8 @@ class SpacesContext implements Context {
|
||||
|
||||
$userRole = "";
|
||||
foreach ($permissions as $permission) {
|
||||
foreach ($permission["grantedTo"] as $grantedTo) {
|
||||
if ($grantedTo["user"]["id"] === $userId) {
|
||||
foreach ($permission["grantedToIdentities"] as $grantedToIdentities) {
|
||||
if ($grantedToIdentities["user"]["id"] === $userId) {
|
||||
$userRole = $permission["roles"][0];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user