Skip to content

Commit

Permalink
Merge pull request #149 from Chloe070196/libkey_integration
Browse files Browse the repository at this point in the history
fix: move LibKey permission into Third Party Enrichment section
  • Loading branch information
Chloe070196 authored Dec 5, 2024
2 parents 1fb63fe + 79b3abf commit 8baf94c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/web/sys/DBMaintenance/version_updates/24.12.00.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ function getUpdates24_12_00(): array {
'title' => 'Create LibKey Permissions',
'description' => 'Add an LibKey permission section containing the Administer LibKey Settings permission',
'sql' => [
"INSERT INTO permissions (name, sectionName, weight, description) VALUES ( 'Administer LibKey Settings','LibKey', 0, 'Allows the user to administer the integration with LibKey')",
"INSERT INTO permissions (name, sectionName, weight, description) VALUES ( 'Administer LibKey Settings','Third Party Enrichment', 0, 'Allows the user to administer the integration with LibKey')",
"INSERT INTO role_permissions(roleId, permissionId) VALUES ((SELECT roleId from roles where name='opacAdmin'), (SELECT id from permissions where name='Administer LibKey Settings'))",
],
],// create_libkey_permissions
Expand Down

0 comments on commit 8baf94c

Please sign in to comment.