0

I'm using control panel js plugin to add some javascript in users page inside control panel, to hide some data based on current logged in user role, but I'm unable to access the {{currentUser}} variable inside it.

Can anybody tell how to access this variable in js.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.