I don't have an issue, but I'm curious to find out if there is a way to streamline this code:
ddd
In the canDelete()
function, I now require the isOwner
parameter as well. I ended up duplicating the code from the canUserApprove()
method, which is functioning properly. I'm just contemplating if there is a more elegant solution for this?