hcb icon indicating copy to clipboard operation
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

Open malted opened this issue 1 year ago • 3 comments

image

In this scenario, I am a member (and not a manager) of the Expensicon 2023 event.

malted avatar Apr 02 '24 19:04 malted

~~Note to self: use x-cloak~~

malted avatar Apr 02 '24 20:04 malted

@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?

malted avatar Apr 02 '24 23:04 malted

Nvm! Solved it.

malted avatar Apr 02 '24 23:04 malted