Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-12381

Permissions target includes field length limit of 1024 is too restrictive

    XMLWordPrintable

    Details

    • Type: Change Request
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Database
    • Labels:
      None

      Description

      When implementing fine-grained permissions control in an automated process, the generated permissions target name can easily exceed 1024 characters, especially when managing multiple artifacts in a single permissions target since they logically are managed together (e.g. related artifacts in a maven multi-modulo project).

      Include path can easily look like this (line breaks added for legibility):

      com/acme/department/some-project/parent-pom/*/parent-pom-*,
      com/acme/department/some-project/parent-pom/*/maven-metadata.xml,
      com/acme/department/some-project/parent-pom/maven-metadata.xml,
      com/acme/department/some-project/moduleA-with-a-quite-lengthy-name/*/moduleA-with-a-quite-lengthy-name-*,
      com/acme/department/some-project/moduleA-with-a-quite-lengthy-name/*/maven-metadata.xml,
      com/acme/department/some-project/moduleA-with-a-quite-lengthy-name/*/maven-metadata.xml.sha1,
      com/acme/department/some-project/moduleA-with-a-quite-lengthy-name/*/maven-metadata.xml.md5,
      com/acme/department/some-project/moduleA-with-a-quite-lengthy-name/maven-metadata.xml,
      com/acme/department/some-project/moduleA-with-a-quite-lengthy-name/maven-metadata.xml.sha1,
      com/acme/department/some-project/moduleA-with-a-quite-lengthy-name/maven-metadata.xml.md5,
      com/acme/department/some-project/moduleB-with-a-quite-lengthy-name/*/moduleB-with-a-quite-lengthy-name-*,
      com/acme/department/some-project/moduleB-with-a-quite-lengthy-name/*/maven-metadata.xml,
      com/acme/department/some-project/moduleB-with-a-quite-lengthy-name/*/maven-metadata.xml.sha1,
      com/acme/department/some-project/moduleB-with-a-quite-lengthy-name/*/maven-metadata.xml.md5,
      com/acme/department/some-project/moduleB-with-a-quite-lengthy-name/maven-metadata.xml,
      com/acme/department/some-project/moduleB-with-a-quite-lengthy-name/maven-metadata.xml.sha1,
      com/acme/department/some-project/moduleB-with-a-quite-lengthy-name/maven-metadata.xml.md5

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              daniel.beck Daniel Beck
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: