Skip to content

Conversation

@stepskop
Copy link
Contributor

This adds the ACTOR_PERMISSION_LEVEL environmental variable as actor_permission_level to the Configuration.
It also logs the current permission level on the Actor initialization.

@stepskop stepskop self-assigned this Nov 25, 2025
@stepskop stepskop added the t-core-services Issues with this label are in the ownership of the core services team. label Nov 25, 2025
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😅

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as for JS SDK...
I am not sure if this should not be somehow conditional, as most of the time it would be defined only when run on Apify. Locally, it won't be defined if the user doesn't do so.

However, I can imagine some cases when my code depends on the permission level, so I am passing it "artificially" even locally to test things out.

Copy link
Contributor

@danpoletaev danpoletaev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as for JS SDK, consider moving log message to worker 🙃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

t-core-services Issues with this label are in the ownership of the core services team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants