Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-8581

Define new PagesDefinition API to create a new page in a plugin

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.3
    • Component/s: Plugin API
    • Labels:

      Description

      Define a new PagesDefinition in the spirit of RulesDefinition. It's a declarative API.

      What's changed about the current Page 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

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              teryk.bellahsene Teryk Bellahsene
              Reporter:
              teryk.bellahsene Teryk Bellahsene
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: