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

Duplicated code of restricted projects should requires permission validation before being localized

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 5.1.2
    • Fix Version/s: None
    • Component/s: Duplications
    • Labels:
      None

      Description

      Let's take the example of two projects (A and B) that have some duplicated source code in common. If cross project duplication detection is enabled users that don't have access to B project (neither "Browse" nor "See Source Code" permission) are able to see that the duplication is coming from the code from B.

      In such a case, users should know that project A contains duplicated code but only users that have permission on project B should know that this code is also in project B.

      A validation of the permission should be performed before displaying the source of the duplication.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              jean-denis.coffre Jean-Denis Coffre
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: