box_access_check_ddl has error prone API
From discussion:
At this point grantor_id can be different from meta.user_id only in case it is an admin. In that case we still should su into meta.user_id, so that box_access_check_ddl precondition holds that owner should be equal to session user.
We've discussed this separately, when granting privilege vanilla uses grantor as the owner. This feels strange but for now it is simpler to copy vanilla approach. To catch this I've added an assert to box_access_check_ddl in tarantool and it triggered because I again passed owner of the object and not grantor as owner_id by intuition. So here we should pass grantor_id as the owner and as a user to switch to. Here I've changed it and tests pass: https://git.picodata.io/picodata/picodata/picodata/-/tree/dkr/track-owner-tests