Batch-process and hide menu items if there are no corresponding permissions.