@base44-preview/sdk 0.8.50-pr.290.00d2bf0 → 0.8.50-pr.290.0706e1f
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -952,13 +952,14 @@ type DynamicEntitiesModule = {
|
|
|
952
952
|
*
|
|
953
953
|
* ## How denied reads and writes differ
|
|
954
954
|
*
|
|
955
|
-
*
|
|
955
|
+
* Denied reads behave as if the data doesn't exist, so they don't reveal
|
|
956
|
+
* what's there. Denied writes throw, so a blocked change never fails silently.
|
|
956
957
|
*
|
|
957
958
|
* | Operation | When a rule denies it |
|
|
958
959
|
* | --- | --- |
|
|
959
960
|
* | `list()`, `filter()` | Returns an empty result, the same as if nothing matched. No error is thrown. |
|
|
960
|
-
* | `get()` | Throws a not-found error, whether or not the record exists. |
|
|
961
|
-
* | `create()`, `update()` | Throws a permission error
|
|
961
|
+
* | `get()` | Throws a not-found error (HTTP 404), whether or not the record exists. |
|
|
962
|
+
* | `create()`, `update()` | Throws a permission error (HTTP 403). |
|
|
962
963
|
*
|
|
963
964
|
* ## Entity Handlers
|
|
964
965
|
*
|