Revert "Add permissions management framework"

This reverts commit b0082bc698d42f3826a4e8b956993081d23a2655.