-
Type:
Story
-
Status: Closed
-
Priority:
Minor
-
Resolution: Discarded
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Asset Libraries
-
Epic/Theme:
-
Epic Link:
As a repo admin
I want to configure if I want to expose structures and/or content stored in a repository to a site
so that I can adapt it to the needs we have
por defecto no exponemos estructuras. Si las activas (habrá que avisar tb al admin de las implicaciones), puedes conectar sites pero no desconectar. Si vuelves a desactivar estructuras, warning con confirmación de que los contenidos creados dejarán de funcionar ?
Behavior:
- By default, asset libraries do not expose structures/document types
- When the option is checked, before saving the configuration, a message will be shown saying "Once enabled, it will not be possible to disconnect a site so assets created in the sites are not broken"
- When enabled for a site, it won't be possible to disconnect the site.
- When the configuration for sharing structures is unchecked, a message will be shown saying "Contents created in sites using the structures stored in this asset library will stop working if this configuration is disabled"
- When disabled, it will be possible to disconnect a site.
Design
Acceptance criteria
Given a Liferay DXP instance with a repository created
When a site is connected
Then the options for exposing structures and document types are disabled by default
Given a Liferay DXP instance with a repository created
When a user edits the site connection configuration
Then she can enable/disable thethe options for exposing structures and document types
Given a Liferay DXP instance with a repository created
When the option for exposing structures is enabled
Then users can create/edit content in the site using the structures stored in the repository
Test Scenarios
ID | Test Priority | Test Scenarios | Covered by Backend (Unit/Integration)? | Test to add |
---|---|---|---|---|
01 | 5 | WC structures are disabled by default | ||
02 | 5 | Document types are disabled by default | ||
03 | 5 | Users can enable WC structures when configuring a site connection | ||
04 | 5 | Users can disable WC structures when configuring a site connection | ||
05 | 5 | Users can enable document types when configuring a site connection | ||
06 | 5 | Users can disable document types when configuring a site connection | ||
07 | 5 | The WC structure of a repository will not be listed on the connected site when WC structures are disabled | ||
08 | 5 | The document type of a repository will not be listed on the connected site when document types are disable |