Skip to content

BXC-4414 add file permissions by filename matching - #152

Merged
bbpennel merged 4 commits into
mainfrom
bxc-4414
Jun 22, 2026
Merged

bbpennel merged 4 commits into
mainfrom
bxc-4414

Conversation

@krwong

@krwong krwong commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

https://unclibrary.atlassian.net/browse/BXC-4414

  • add --file-name-pattern option that accepts a and supports wildcarding
  • initialize SourceFileService in PermissionsCommand and add setter to Permissions Service
  • add getFilenamePatternIds and wildcardToRegex methods to PermissionsService to retrieve all ids with filenames that match the pattern
  • add tests and update test helper

krwong added 2 commits June 17, 2026 12:53
…ssionsCommand, add getFilenamePatternIds and wildcardToRegex methods to PermissionsService, add tests and update test helper
Comment thread src/test/java/edu/unc/lib/boxc/migration/cdm/services/PermissionsServiceTest.java Outdated
Comment thread src/test/java/edu/unc/lib/boxc/migration/cdm/services/PermissionsServiceTest.java Outdated
Comment thread src/test/java/edu/unc/lib/boxc/migration/cdm/services/PermissionsServiceTest.java Outdated
Comment thread src/test/java/edu/unc/lib/boxc/migration/cdm/services/PermissionsServiceTest.java Outdated
Comment thread src/test/java/edu/unc/lib/boxc/migration/cdm/PermissionsCommandIT.java Outdated
Comment thread src/test/java/edu/unc/lib/boxc/migration/cdm/services/PermissionsServiceTest.java Outdated
@bbpennel
bbpennel merged commit cd40afb into main Jun 22, 2026
2 checks passed
@bbpennel
bbpennel deleted the bxc-4414 branch June 22, 2026 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants