Access current_user from global Javascript

Is it possible to access the current_user object from a "preloaded" Javascript as configured in the admin settings? I'd like to avoid the caller having to pass it every time, as well as preventing someone from passing something other than the current_user.

2 Likes

Not currently :disappointed: @djmax I moved this to a feature request though

Hi @Tess , do you know if this is currently possible or is it still marked as a feature request ?

It's still a feature request! :disappointed: I'll record your +1 internally