Revert "Merge pull request #48 from VinceMacBuche/bug_5238/perms_promises"

This reverts commit 3e6977387923a26627e155dc90ef9cef1aa8de14, reversing
changes made to 6866bb6a564d2c12b0159b350b7ca843c8aadccb.