Fix permission handling with Essentials