Skip to content

Commit

Permalink
Merge pull request #148 from Chloe070196/libkey_integration
Browse files Browse the repository at this point in the history
fix: untie permission from removed module
  • Loading branch information
Chloe070196 authored Dec 5, 2024
2 parents 62e9642 + 2e39bf8 commit 1fb63fe
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, requiredModule, weight, description) VALUES ( 'Administer LibKey Settings','LibKey','LibKey', 0, 'Allows the user to administer the integration with LibKey')",
"INSERT INTO permissions (name, sectionName, weight, description) VALUES ( 'Administer LibKey Settings','LibKey', 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 1fb63fe

Please sign in to comment.