WindmillWWindmill
Powered by
WholtezaW
Windmillโ€ข11mo agoโ€ข
6 replies
Wholteza

No variable permissions on scheduled runs only

We are running a couple of scheduled jobs in windmill what make use of variables as input parameters.
Basically we have flows with one step in them which is one python script that has variables configured for their input.

When triggering them manually by user 4's account they work fine.
But if we configure a schedule it fails on every scheduled run due to a lack of permissions.
How can we configure so that these jobs have permissions to the variables on a scheduled run?

All flows are located in the same directory "folder" as the variables that they use.

Thankful for any help we can get ๐Ÿ˜Š

{
"error": {
"name": "InternalErr",
"message": "Error during isolated evaluation of expression
variable('f/folder/VARIABLE_NAME')
variable('f/folder/VARIABLE_NAME')
:\nError: Not authorized: Variable exists but you don't have access to it:\nvariable perms: {}\nfolder perms: {\n "g/all": false,\n "u/user1": true,\n "u/user2": true,\n "u/user3": true,\n "u/user4": true,\n "u/user5": true\n}\n at async variable (<anon>:9:12)\n at async <anon>:46:13"
}
WindmillJoin
3,362Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements
Recent Announcements
henri-c

Weekly kenote to tell you about our latest updates https://discord.com/channels/930051556043276338/1278977038430240813 https://youtube.com/live/2dGd9TdT8xs?feature=share

henri-c ยท 4d ago

Pyra

### HTTP tracing (EE) Capture HTTP requests made by job scripts as observability spans Features: - View HTTP request traces (method, URL, status, timing) in the job details UI - Auto-instrumentation for Native TypeScript, MITM proxy for other languages - Integrates with external OpenTelemetry collectors changelog: https://www.windmill.dev/changelog/http-tracing docs: https://www.windmill.dev/docs/advanced/instance_settings#http-tracing Additionally jobs memory metrics are now fully OSS!

Pyra ยท 2w ago

henri-c

First keynote of the year here https://discord.com/channels/930051556043276338/1278977038430240813 ๐Ÿ™‚

henri-c ยท 4w ago

Similar Threads

Scheduled job caching
baptisteaBbaptistea / help
13mo ago
Running scheduled reports - chromium not working
saraf0509Ssaraf0509 / help
2y ago
Schedule not followed, skips runs
ByronBByron / help
12mo ago
Custom env variable
LeandroLLeandro / help
16mo ago