adjust permission manager.