-
Type: Improvement
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 3.31.0
-
Component/s: Roles & Permissions, Schemas, Vocabularies
-
Epic Link:
-
Tags:
-
Sprint:NOS 11.1.33 - 2020-05 1
-
Story Points:3
Description
NXP-27877 will bring new directory init modes.
They need to be implemented in Studio as well.
The goal is to propose in Studio those new modes where the creation policy can be configure:
- Vocabularies
- Users & Groups
When and only when a user selects the creation policy "Don't override existing values", there is an additional listbox display to select among the following options:
- update duplicates
- ignore duplicates
- error on duplicates
Acceptance criteria
Given I'm a Studio user
And I go to the Vocabularies menu
And I select an existing vocabulary
When I select the creation policy "Don't override missing values"
Then another listbox is displayed
And I can select among the 3 options "update duplicates", "ignore duplicates", and "error on duplicates"
Given I'm a Studio user
And I go to the Vocabularies menu
And I select the creation policy "Don't override missing values"
And I select the "error on duplicates" option
When I change back the creation policy to "Always"
And I restart my Nuxeo Server
Then the "error on duplicates" option was not taken into account
And the vocabulary is created even if there are some duplicates
Given I'm a Studio user
And I go to the Vocabularies menu
And I create a new vocabulary
And I select the creation policy "Don't override missing values"
When I import new entries including duplicates using import CSV,
Then all entries are added to the vocabulary whatever is the option I selected
Given I'm a Studio user
And I go to the Vocabularies menu
And I select an existing vocabulary
And I select the creation policy "Don't override missing values"
When I select the option "update duplicates"
And I import new entries including duplicates using import CSV,
Then the new entries are added to the vocabulary
And the duplicates are updated
Given I'm a Studio user
And I go to the Vocabularies menu
And I select an existing vocabulary
And I select the creation policy "Don't override missing values"
When I select the option "ignore duplicates"
And I import new entries including duplicates using import CSV,
Then the new entries are added to the vocabulary
And the duplicates are NOT updated NOR added
Given I'm a Studio user
And I go to the Vocabularies menu
And I select an existing vocabulary
And I select the creation policy "Don't override missing values"
When I select the option "error on duplicates"
And I import new entries including duplicates using import CSV,
Then the new entries are NOT added to the vocabulary
And the duplicates are NOT updated NOR added
Given I'm a Studio user
And I go to the "Roles & Permissions"/"Users & Groups" menu
When I select the creation policy "Don't override missing values"
Then another listbox is displayed
And I can select among the 3 options "update duplicates", "ignore duplicates", and "error on duplicates"
- causes
-
NXDOC-2123 Explain new directory init modes in studio
- Resolved
- depends on
-
NXP-27877 Allow directory init to just add missing entries
- Resolved
- is related to
-
NXS-5909 Update labels and help for vocabulary policies
- Resolved