Submitted by Dup1337
https://github.com/code-423n4/2024-06-krystal-defi/blob/f65b381b258290653fa638019a5a134c4ef90ba8/src/Common.sol#L392 
https://github.com/code-423n4/2024-06-krystal-defi/blob/f65b381b258290653fa638019a5a134c4ef90ba8/src/V3Utils.sol#L76-L85
https://github.com/code-423n4/2024-06-krystal-defi/blob/f65b381b258290653fa638019a5a134c4ef90ba8/src/V3Utils.sol#L171 
https://github.com/code-423n4/2024-06-krystal-defi/blob/f65b381b258290653fa638019a5a134c4ef90ba8/src/V3Automation.sol#L92
The user loses their approved entities
The protocol transfers the Position NFT from the position owner to the protocol and back to the position owner to execute the actions.
This breaks the allowance mechanism of ERC721 for every action taken on the platform and it omits the allowances given from the token owners to the approved entities.
For every NFT transfer, the allowances are zeroed out:
E.g.:
NFPM uses isAuthorizedForToken modifier as below:
Take approval of token owners rather than using onERC721Received hook.
Haupc (Krystal DeFi) acknowledged and commented:
quanghuy219 (Krystal DeFi) commented:
