One of my teammates created a simple page that displays links to important contents. However, since it is simple content, the page itself is restricted but the link still shows up in the main menu.
I'm looking for a way to add a permission such as
custom_module.permission.yml where the client will be able to define who can access this page.
Is there a way to do so without installing any external module?