Skip to content

Commit 30801e5

Browse files
committed
refactor: clean up
1 parent fe6b89e commit 30801e5

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

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

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ You can create pre-signed URLs either through the Apify Console or programmatica
169169

170170
#### How to generate pre-signed URLs in Apify Console
171171

172-
To generate a pre-signed link, you can use the **Export** button in Console, or call the appropriate API client method.
172+
To generate a pre-signed link, you can use the **Export** button in Console.
173173

174174
:::note
175175

@@ -237,7 +237,7 @@ If the `expiresInSecs` option is not specified, the generated link will be **per
237237

238238
#### Signing URLs manually
239239

240-
If you need finer control - for example, generating links without using Apify client — you can sign URLs manually using our reference implementation.
240+
If you need finer control for example, generating links without using Apify client — you can sign URLs manually using our reference implementation.
241241

242242
👉 [See reference implementation in Apify clients](https://github.com/apify/apify-client-js/blob/5efd68a3bc78c0173a62775f79425fad78f0e6d1/src/resource_clients/dataset.ts#L179)
243243

@@ -257,14 +257,10 @@ This is very useful if you wish to expose a storage publicly with an easy to rem
257257

258258
If you own a public Actor in the Apify Store, you need to make sure that your Actor will work even for users who have restricted access to their resources. Over time, you might see a growing number of users with **General resource access** set to **Restricted**.
259259

260-
In practice, this means that:
260+
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. See the detailed guide below for more information.
261261

262-
- All API requests made by your Actor must include a valid API token.
263-
- When using the Apify SDK or Apify Client, this is handled automatically.
264-
- Avoid relying on URLs that require unrestricted access or authentication by default.
265262

266-
267-
:::caution Actor Runs Inherit User Permissions
263+
:::caution Actor runs inherit user permissions
268264

269265
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.
270266

@@ -328,7 +324,7 @@ You can easily test this by switching your own account’s setting to **Restrict
328324

329325
:::tip Make sure links work as expected
330326

331-
Once you’ve enabled restricted access, run your Actor and confirm that all links generated in logs, datasets, key-value stores, and status messages remain accessible as expected. Make sure any shared URLs - especially those stored in results or notifications — work without requiring an API token.
327+
Once you’ve enabled restricted access, run your Actor and confirm that all links generated in logs, datasets, key-value stores, and status messages remain accessible as expected. Make sure any shared URLs especially those stored in results or notifications — work without requiring an API token.
332328

333329
:::
334330

0 commit comments

Comments
 (0)