Define a new PagesDefinition in the spirit of RulesDefinition. It's a declarative API.
- Navigation: 4 choices: global, global admin, component, component admin
- Permissions: no need to declare.
- global doesn't need a specific permission
- global admin needs the global admin permission
- component needs the browse permission on the component
- component admin needs the global admin of component admin permission
- Qualifiers: restricted to project, module, view and sub view. For example file are not handled
- Default tab: not handled. It was to restrict to some metrics
- Language: not handled
- Scope: not handled
- Description: not handled