WindmillWWindmill
Powered by
SindreS
Windmill•3y ago•
6 replies
Sindre

find the current App user from a script/flow

If I'm running a flow that is executed from an app.
WM_EMAIL
WM_EMAIL
is the email from the user that has deployed the app. Is it possible to get the current user?
I know i can get the current user by sending the
ctx.email
ctx.email
but how do I ensure that a user do not modify this, or just call the api directly with another value? Is this handled with regards to security ?
WindmillJoin
3,362Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?
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

Updating the app UI from within a running script
jmrJjmr / help
2y ago
Triggering a script or flow from AgGrid Table column definition
emmortsEemmorts / help
3y ago
Accessing logs of flows executed from a script
ShenanigansSShenanigans / help
9mo ago
Scheduling a script programmatically from a script
GodswillGGodswill / help
7mo ago