Skip to content

Commit

Permalink
Revert permission changes for MODPUBSUB-301 (#173)
Browse files Browse the repository at this point in the history
* MODAUD-187 - Updating permissions in MD

* MODAUD-187 - exclude mod-audit-server execution for the folio-module-descriptor-validator plugin

* MODAUD-187 - exclude mod-audit-server execution for the folio-module-descriptor-validator plugin

* MODAUD-187 - exclude mod-audit-server execution for the folio-module-descriptor-validator plugin

* MODPUBSUB-296 - Reverting the permission change for pubsub.events.post

* MODPUBSUB-296 - Reverting the permission change for pubsub.events.post

* MODPUBSUB-296 - Reverting the permission change for pubsub.events.post
  • Loading branch information
gurleenkaurbp authored Oct 24, 2024
1 parent 4e633dc commit 1b016c0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 23 deletions.
8 changes: 1 addition & 7 deletions 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": [
"audit.pub-sub-handlers.log-record-event.post"
"pubsub.events.post"
],
"modulePermissions": [
"users.item.get",
Expand Down Expand Up @@ -264,12 +264,6 @@
"displayName": "Acquisition piece status change history events - get piece status change events",
"description": "Get piece status change events"
},
{
"permissionName": "audit.pub-sub-handlers.log-record-event.post",
"displayName" : "log record events from pub-sub",
"description" : "log record events received from pub-sub",
"replaces": [ "pubsub.events.post" ]
},
{
"permissionName": "audit.all",
"displayName": "Audit - all permissions",
Expand Down
16 changes: 0 additions & 16 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
<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.0</folio-module-descriptor-validator.version>
<argLine />
</properties>

Expand Down Expand Up @@ -183,21 +182,6 @@
</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 1b016c0

Please sign in to comment.