Skip to content

Commit

Permalink
CIRC-2185 Add mod-settings permission blocks (#1516)
Browse files Browse the repository at this point in the history
* CIRC-2185 Add mod-settings perms blocks

* CIRC-2185 Change validator scope
  • Loading branch information
alexanderkurash authored Nov 26, 2024
1 parent 2b6619d commit f3cdb32
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
20 changes: 20 additions & 0 deletions descriptors/ModuleDescriptor-template.json
Original file line number Diff line number Diff line change
Expand Up @@ -1669,6 +1669,26 @@
"displayName": "circulation - loan related fee/fine closed",
"description": "loan related fee/fine closed"
},
{
"permissionName": "mod-settings.global.read.mod-circulation",
"displayName": "mod-circulation settings - read",
"description": "To read mod-circulation settings from mod-settings"
},
{
"permissionName": "mod-settings.global.write.mod-circulation",
"displayName": "mod-circulation settings - write",
"description": "To create and edit mod-circulation settings in mod-settings"
},
{
"permissionName": "mod-settings.global.read.circulation",
"displayName": "circulation functionality settings - read",
"description": "To read circulation functionality settings from mod-settings"
},
{
"permissionName": "mod-settings.global.write.circulation",
"displayName": "circulation functionality settings - write",
"description": "To create and edit circulation functionality settings in mod-settings"
},
{
"permissionName": "circulation.all",
"displayName": "circulation - all permissions",
Expand Down
3 changes: 3 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -532,6 +532,9 @@
</goals>
</execution>
</executions>
<configuration>
<failOnInvalidDescriptor>false</failOnInvalidDescriptor>
</configuration>
</plugin>
</plugins>
</build>
Expand Down

0 comments on commit f3cdb32

Please sign in to comment.