Bugfix permission regression