Skip to content

Commit 978660e

Browse files
committed
Small fixes
1 parent ca7bc6f commit 978660e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sources/platform/collaboration/general-resource-access.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Access to resources that require explicit access — such as Actors, tasks or sc
2626

2727
If your **general resource access** is set to **anyone with ID can read**, you can just send this link to anybody, and they will be able to download the data even if they don’t have an Apify account. However, once you change the setting to **restricted**, this API call will require a valid token with access in order to work. In other words, you’ll have to explicitly share the dataset and you can only do that with people who have an Apify account.
2828

29-
When using the API, resources that are set to `Restricted` can be viewed only with a valid token with correct permissions is sent in the request. Alternatively, when a resource is set to **anyone with ID can read**, the resource could be viewed without authentication.
29+
When using the API, resources that are set to `Restricted` can be viewed only with a valid token with correct permissions is sent in the request. Alternatively, when a resource is set to **anyone with ID can read**, the resource could be viewed without authentication.
3030

3131
Even if your access is set to `Restricted` there are a few built-in exceptions that make collaboration and platform features work seamlessly. These are explained in the sections below.
3232

@@ -99,7 +99,7 @@ You can also set the general access on a resource programmatically using the Api
9999
```js
100100
const datasetClient = apifyClient.dataset(datasetId);
101101
await datasetClient.update({
102-
generalAccess: STORAGE_GENERAL_ACCESS.ANYONE_WITH_ID_CAN_READ
102+
generalAccess: STORAGE_GENERAL_ACCESS.ANYONE_WITH_ID_CAN_READ
103103
});
104104
```
105105

@@ -159,7 +159,7 @@ To test your public Actor, run it using an account with **general resource acces
159159
In practice, this means that all API calls originating from the Actor need to have a valid API token. If you are using Apify SDK, this should be the default behavior.
160160

161161

162-
:::️warning
162+
:::caution
163163

164164
Keep in mind that when users run your public Actor, the Actor makes API calls under the user account, not your developer account. This means that it follows the **general resource access** configuration of the user account. The configuration of your developer account has no effect on the Actor users.
165165

0 commit comments

Comments
 (0)