-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* allow linking of processes to parents in different project * restore delete test file * added Unit test for process sorting by projectId * create new list in sort method to avoid side effects * Add authority to link to processes of unassigned projects * Update name of SQL migration file * Show multiple potential parent processes in titleRecordLinkTab * Fix test * Move filtering of processes from ImportService to ProcessService * Use correct metadata file for test * Fix ProcessServiceIT * Fix test * Update message * Adjust new ruleset restrictions to fix test * Fix test and revert test ruleset changes * Rename SQL migration file * Use Junit version 5 instead of 4 in test --------- Co-authored-by: BartChris <[email protected]>
- Loading branch information
Showing
23 changed files
with
370 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
...urces/db/migration/V2_131__Add_permission_to_link_to_processes_of_unassigend_projects.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
-- | ||
-- (c) Kitodo. Key to digital objects e. V. <[email protected]> | ||
-- | ||
-- This file is part of the Kitodo project. | ||
-- | ||
-- It is licensed under GNU General Public License version 3 or later. | ||
-- | ||
-- For the full copyright and license information, please read the | ||
-- GPL3-License.txt file that was distributed with this source code. | ||
-- | ||
|
||
SET SQL_SAFE_UPDATES = 0; | ||
|
||
-- add authorities/permission for linking to parent processes of unassigned projects | ||
INSERT IGNORE INTO authority (title) VALUES ('linkToProcessesOfUnassignedProjects_clientAssignable'); | ||
|
||
SET SQL_SAFE_UPDATES = 1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.