Replace hook menu with permission.yml file