diff --git a/composer.json b/composer.json index b3fcb1974a..7dd8f3bd20 100644 --- a/composer.json +++ b/composer.json @@ -47,7 +47,7 @@ "utopia-php/logger": "0.3.*", "utopia-php/abuse": "dev-refactor-permissions-premerge as 0.7.0", "utopia-php/analytics": "0.2.*", - "utopia-php/audit": "0.8.*", + "utopia-php/audit": "dev-refactor-permissions as 0.8.0", "utopia-php/cache": "0.6.*", "utopia-php/cli": "0.13.*", "utopia-php/config": "0.2.*", diff --git a/composer.lock b/composer.lock index 44743e4fd1..8cc768a10f 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "029dcab43ed83efdf56d471a8cc26f50", + "content-hash": "a1ab1a7aab14b5ac016472261bb814ff", "packages": [ { "name": "adhocore/jwt", @@ -1841,22 +1841,22 @@ }, { "name": "utopia-php/audit", - "version": "0.8.0", + "version": "dev-refactor-permissions", "source": { "type": "git", "url": "https://github.com/utopia-php/audit.git", - "reference": "b46dc42614a69437c45eb229249b6a6d000122c1" + "reference": "d9ab49e3208c65f25386895242931595248bbe32" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/audit/zipball/b46dc42614a69437c45eb229249b6a6d000122c1", - "reference": "b46dc42614a69437c45eb229249b6a6d000122c1", + "url": "https://api.github.com/repos/utopia-php/audit/zipball/d9ab49e3208c65f25386895242931595248bbe32", + "reference": "d9ab49e3208c65f25386895242931595248bbe32", "shasum": "" }, "require": { "ext-pdo": "*", "php": ">=8.0", - "utopia-php/database": ">=0.11 <1.0" + "utopia-php/database": "dev-refactor-permissions" }, "require-dev": { "phpunit/phpunit": "^9.3", @@ -1888,9 +1888,9 @@ ], "support": { "issues": "https://github.com/utopia-php/audit/issues", - "source": "https://github.com/utopia-php/audit/tree/0.8.0" + "source": "https://github.com/utopia-php/audit/tree/refactor-permissions" }, - "time": "2021-12-27T13:05:56+00:00" + "time": "2022-08-13T15:11:07+00:00" }, { "name": "utopia-php/cache", @@ -5360,6 +5360,12 @@ "alias": "0.7.0", "alias_normalized": "0.7.0.0" }, + { + "package": "utopia-php/audit", + "version": "dev-refactor-permissions", + "alias": "0.8.0", + "alias_normalized": "0.8.0.0" + }, { "package": "utopia-php/database", "version": "dev-refactor-permissions", @@ -5370,6 +5376,7 @@ "minimum-stability": "stable", "stability-flags": { "utopia-php/abuse": 20, + "utopia-php/audit": 20, "utopia-php/database": 20, "appwrite/sdk-generator": 20 }, diff --git a/tests/e2e/Services/Storage/StorageCustomClientTest.php b/tests/e2e/Services/Storage/StorageCustomClientTest.php index aec8064950..1c103c5d1b 100644 --- a/tests/e2e/Services/Storage/StorageCustomClientTest.php +++ b/tests/e2e/Services/Storage/StorageCustomClientTest.php @@ -208,9 +208,8 @@ class StorageCustomClientTest extends Scope 'folderId' => 'xyz', 'permissions' => [ 'read(user:notme)', - 'create(user:notme)', - 'update(user:notme)', - 'delete(user:notme)', + 'update(user:notme)', + 'delete(user:notme)', ], ]);