Skip to content

Commit

Permalink
MODUAD-199 - pubsub permission changes. (#177)
Browse files Browse the repository at this point in the history
* pubsub permission changes.

* pubsub permission changes.

* Changes related to audit.pub-sub-handlers.log-record-event.post

* pubsub permission changes.

* pubsub permission changes.

---------

Co-authored-by: Taras_Spashchenko <[email protected]>
  • Loading branch information
gurleenkaurbp and TarasSpashchenko committed Nov 19, 2024
1 parent 727953c commit ca27005
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion descriptors/ModuleDescriptor-template.json
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@
"methods": ["POST"],
"pathPattern": "/audit/handlers/log-record",
"permissionsRequired": [
"pubsub.events.post"
"audit.pub-sub-handlers.log-record-event.post"
],
"modulePermissions": [
"users.item.get",
Expand Down
14 changes: 14 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
<main.basedir>${project.basedir}</main.basedir>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<folio-module-descriptor-validator.version>1.0.1</folio-module-descriptor-validator.version>
<argLine />
</properties>

Expand Down Expand Up @@ -182,6 +183,19 @@
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.folio</groupId>
<artifactId>folio-module-descriptor-validator</artifactId>
<version>${folio-module-descriptor-validator.version}</version>
<inherited>false</inherited>
<executions>
<execution>
<goals>
<goal>validate</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

Expand Down

0 comments on commit ca27005

Please sign in to comment.