Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/CIRCSTORE-539' into CIRCSTORE-539
Browse files Browse the repository at this point in the history
  • Loading branch information
kapil-epam committed Dec 5, 2024
2 parents 9a80571 + fcd2784 commit 4f118c4
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 4 deletions.
9 changes: 5 additions & 4 deletions descriptors/ModuleDescriptor-template.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
}, {
"methods": ["POST"],
"pathPattern": "/loan-storage/loans/anonymize/{userId}",
"permissionsRequired": ["circulation-storage.loans.collection.anonymize.user.post"]
"permissionsRequired": ["circulation-storage.loans.anonymize.execute"]
}
]
},
Expand Down Expand Up @@ -757,9 +757,10 @@
"description": "Delete individual loan from storage"
},
{
"permissionName": "circulation-storage.loans.collection.anonymize.user.post",
"permissionName": "circulation-storage.loans.anonymize.execute",
"displayName": "Circulation storage - anonymize loans for a user",
"description": "Anonymize closed loans for a single user"
"description": "Anonymize closed loans for a single user",
"replaces": ["circulation-storage.loans.collection.anonymize.user.post"]
},
{
"permissionName": "anonymize-storage-loans.post",
Expand Down Expand Up @@ -1082,7 +1083,7 @@
"circulation-storage.loans.item.put",
"circulation-storage.loans.item.delete",
"circulation-storage.loans.collection.delete",
"circulation-storage.loans.collection.anonymize.user.post",
"circulation-storage.loans.anonymize.execute",
"circulation-storage.loans-history.collection.get",
"circulation-storage.circulation-rules.get",
"circulation-storage.circulation-rules.put",
Expand Down
15 changes: 15 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@
<vertx-version>4.5.9</vertx-version>
<raml-module-builder-version>35.3.0</raml-module-builder-version>
<spring.version>6.1.5</spring.version>

<!--Folio dependencies properties-->
<folio-module-descriptor-validator.version>1.0.0</folio-module-descriptor-validator.version>
<argLine />
</properties>

Expand Down Expand Up @@ -513,6 +516,18 @@
</includes>
</configuration>
</plugin>
<plugin>
<groupId>org.folio</groupId>
<artifactId>folio-module-descriptor-validator</artifactId>
<version>${folio-module-descriptor-validator.version}</version>
<executions>
<execution>
<goals>
<goal>validate</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

0 comments on commit 4f118c4

Please sign in to comment.