Provide current user triggering a building block
complete
A
André Leibe
As a platform engineer I'd like to get the email address of the user triggering a building block run as a input variable.
Currently, the building block definition allows me to add the tenant user permissions as an input variable.
In my case, I would also need the email address of the user starting the run.
This could be achieved as a flag within the user permissions array, e.g.
[
{
"meshIdentifier": "abc-def-hij",
"username": "mail@example.com",
"firstName": "Firstname",
"lastName": "Lastname",
"email": "mail@example.com",
"euid": "mail@example.com",
"roles": [
"user"
]
is_current_user: (true|false)
}
]
or as a separate input variable, e.g.
current_user: "mail@example.com"
Thank you,
André
This post was marked as
complete
This post was marked as
in progress
Jelle den Burger
Hey Andre, thank you for your feature request. We will keep this idea in mind as we continue working on Building Blocks in meshStack