Fixes #5238: Fix perms on created promises
Merge pull request #48 from VinceMacBuche/bug_5238/perms_promises

Fixes #5238: Fix perms on created promises