Fixes #5238: Fix perms on created promises