[RTFACT-12381] Permissions target includes field length limit of 1024 is too restrictive Created: 01/Sep/16  Updated: 30/Apr/18  Resolved: 30/Apr/18

Status: Resolved
Project: Artifactory Binary Repository
Component/s: Database
Affects Version/s: None
Fix Version/s: None

Type: Change Request Priority: Minor
Reporter: Daniel Beck Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None

Issue Links:
Duplicate
duplicates RTFACT-15926 Include/Exclude Pattern in Permission... Resolved

 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

Generated at Tue Feb 18 08:04:01 UTC 2020 using JIRA 7.6.16#76018-sha1:9ed376192612a49536ac834c64177a0fed6290f5.