mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-04-29 03:33:10 -04:00
Merge pull request #5542 from owncloud/bump-web-v7.0.0-rc.12
[full-ci] chore: bump web v7.0.0-rc.12
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
# The test runner source for UI tests
|
||||
WEB_COMMITID=99028c2d3dde103e5bab6636396ea92f2d9fbcea
|
||||
WEB_COMMITID=6bcdcc5c0ccf7a13bc8f9da2e342073a07744705
|
||||
WEB_BRANCH=master
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
SHELL := bash
|
||||
NAME := web
|
||||
WEB_ASSETS_VERSION = v7.0.0-rc.11
|
||||
WEB_ASSETS_VERSION = v7.0.0-rc.12
|
||||
|
||||
include ../../.make/recursion.mk
|
||||
|
||||
|
||||
@@ -3282,11 +3282,13 @@ class SpacesContext implements Context {
|
||||
$recipientId = $this->getUserIdByUserName($user);
|
||||
foreach ($spaceAsArray['root']['permissions'] as $permission) {
|
||||
$foundRoleInResponse = false;
|
||||
if ($permission['roles'][0] === $role || $permission['grantedToIdentities'][0][$recipientType]['id'] === $recipientId) {
|
||||
$foundRoleInResponse = true;
|
||||
break;
|
||||
if (\array_key_exists($recipientType, $permission['grantedToIdentities'][0])) {
|
||||
if ($permission['roles'][0] === $role || $permission['grantedToIdentities'][0][$recipientType]['id'] === $recipientId) {
|
||||
$foundRoleInResponse = true;
|
||||
break;
|
||||
}
|
||||
Assert::assertTrue($foundRoleInResponse, "the response does not contain the $recipientType $recipient");
|
||||
}
|
||||
Assert::assertTrue($foundRoleInResponse, "the response does not contain the $recipientType $recipient");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user