Bug fix: re-introduce permission manager plugin