hcb
hcb copied to clipboard
[User Roles] Show a transfer permission warning on `/disbursements/new` when the user has insufficient perm in the selected `from` org
In this scenario, I am a member (and not a manager) of the Expensicon 2023 event.
~~Note to self: use x-cloak~~
@cjdenio would like your input here
What magical concoction of x-effect and co. would be needed to avoid "x-bind:disabled": "disabled && !JSON.parse(JSON.stringify(managerEvents)).includes(parseInt(sourceEventInput))" on every single form element?
Nvm! Solved it.