Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

...

Overview

Portal Config

Warning

BREAKING CHANGE
All portal apps related JSON configs have been moved to another directory.

...

This upgrade will allow portal to have a server-side generated style. This wil will be used to switch portal colors from wedia-config.

...

New “default” configuration for the detail page of an asset in Portal

The configuration entry $dam.details.defaultCursorConfig.defaultAssetDetailMeta.column[i].tabs[n].auto is introduced and allow to handle the displayed fields automaticallyPortal detail pages can now display metadatas based on the configured structure of the asset library.

Then, the display in Portal becomes the same as in Back-Office : all fields of the library where the asset is attached and that have its property visible set to true will be displayed in the order defined by their property"“inde“index"”. Therefore the configuration entry $dam.details.defaultCursorConfig.defaultAssetDetailMeta.column[i].tabs[n].config is not taken into account anymore when auto = true.

Section titles are defined by a field with name starting by “separator_”.

To enable this behaviour, you have to set $dam.details.defaultCursorConfig.defaultAssetDetailMeta.column[i].tabs[n].auto is set to true by default to true and $dam.details.defaultCursorConfig.defaultAssetDetailMeta.column[].tabs[].config should not be an array anymore (this becomes the default configuration in starter-kit configuration).

In both modes (auto or manual) only metadatas with corresponding data are displayed.

...

  • Menu entries (rubrique) for DAM and Administration have been deactivated as we now provide an automatically generated menu based on permissions. (it is still possible to contribute and use rubrique)

  • Back-Office default widgets have been re-worked

Reference page: BO Configuration checklist

Emails

An important upgrade has been made for all the emails sent by the application. Existing projects should not be affected.

Here is the link to the page which explains the upgrade, the new behaviour and how it’s working with the old way of customizing emails : Email templates & customization

  • permissions. (it is still possible to contribute and use rubrique)

  • Back-Office default widgets have been re-worked

Reference page: BO Configuration checklist

Emails

An important upgrade has been made for all the emails sent by the application. Existing projects should not be affected.

Here is the link to the page which explains the upgrade, the new behaviour and how it’s working with the old way of customizing emails : Email templates & customization

Security

Domain objectactions

This domain is now activated by default. It is recommended to activate it.

An action view has been added. Its purpose is similar to other objectactions’s actions: define if a user is granted to view a type of object. This action is used to generate the menu.

Expand
titleSee default rules implementation in starter-kit for objectactions/view

WEDIA Packaged - Default rule

Code Block
@pkgV1ObjectActions('view')

WEDIA Packaged - Developper

Code Block
@pkgIsSurferDeveloper()

Macro @pkgV1ObjectActions('view') will grant users if they have at least one permission on the objectname

Domain objectstruct

This domain is now activated by default. It is recommended to activate it. It is mandatory to activate it to enable structures management from the wedia-config interface.

Expand
titleSee default rules implementation in starter-kit for objectstruct/delete objectstruct/insert and objectstruct/update

objectstruct/delete

WEDIA Packaged - Default rule
Code Block
@pkgV1ObjectStruct('delete')
WEDIA Packaged - Developper
Code Block
@pkgIsSurferDeveloper()

objectstruct/insert

WEDIA Packaged - Default rule
Code Block
@pkgV1ObjectStruct('insert')
WEDIA Packaged - Developper
Code Block
@pkgIsSurferDeveloper()

objectstruct/update

WEDIA Packaged - Default rule
Code Block
@pkgV1ObjectStruct('update')
WEDIA Packaged - Developper
Code Block
@pkgIsSurferDeveloper()

Default NAR changes

Structures changes

asset

Field dteendrights no longer has pkg/wediaconfig/custom tag as it is considered as a system property

...

Instances changes

pkgroletemplate

Expand
titleSee pkgroletemplate instances changes

pkgroletemplate/997

  • modified: 23/09/2022 16:52:23 --> 13/04/2023 17:47:28

  • permissions: Changes only are displayed

    Code Block
    languagejson
    {
      "v1": 
      {
        "objectdata": 
        {
          ...      
          "role": {
            "view": {
              "enabled": false,
              "permissions": []
            },
            "insert": {
              "enabled": false,
              "permissions": []
            },
            "update": {
              "enabled": false,
              "permissions": []
            },
            "delete": {
              "enabled": false,
              "permissions": []
            },
            "i18nfieldstranslate": {
              "enabled": false,
              "permissions": []
            },
            "changestatus": {
              "enabled": false,
              "permissions": []
            },
            "order": {
              "enabled": false,
              "permissions": []
            }
          }
          ...
        },
        ...
        "configresolver": {},
        "bundles": {},
        "objectstruct": {}
      },
      "outOfSync": false
    }
  • rubrique: ,10044,10154,10151,10152,10176,10045,10178,10047,10046,10070,10072,10075,10140,10102,10114,10161,10177,10179,10157,10147,10128,10158,10131,10132,10171,10169,10170,10165, --> ,10044,10151,10176,10152,10045,10047,10046,10178,10070,10140,10072,10075,10102,10132,10183,


pkgroletemplate/998

  • modified: 23/09/2022 16:57:05 --> 13/04/2023 17:47:57

  • permissions : Changes only are displayed

    Code Block
    languagejson
    {
      "v1": 
      {
        "objectdata": 
        {
          "pkgroletemplate": {
            "view": {
              "enabled": false,
              "permissions": []
            }
          }, 
          ...      
          "role": {
            "view": {
              "enabled": false,
              "permissions": []
            },
            "insert": {
              "enabled": false,
              "permissions": []
            },
            "update": {
              "enabled": false,
              "permissions": []
            },
            "delete": {
              "enabled": false,
              "permissions": []
            },
            "i18nfieldstranslate": {
              "enabled": false,
              "permissions": []
            },
            "changestatus": {
              "enabled": false,
              "permissions": []
            },
            "order": {
              "enabled": false,
              "permissions": []
            }
          }
          ...
          "user": {
            "view": {
              "enabled": false,
              "permissions": [
                "$online/$anyowner"
              ]
            },
            "insert": {
              "enabled": false,
              "permissions": []
            },
            "update": {
              "enabled": false,
              "permissions": []
            },
            "delete": {
              "enabled": false,
              "permissions": []
            },
            "changestatus": {
              "enabled": false,
              "permissions": []
            }
          },
          "userregistration": {
            "view": {
              "enabled": false,
              "permissions": []
            },
            "insert": {
              "enabled": false,
              "permissions": []
            },
            "update": {
              "enabled": false,
              "permissions": []
            },
            "delete": {
              "enabled": false,
              "permissions": []
            },
            "changestatus": {
              "enabled": false,
              "permissions": []
            }
          },
          "vueapphomevisual": {
            "view": {
              "enabled": false,
              "permissions": []
            },
            "insert": {
              "enabled": false,
              "permissions": []
            },
            "update": {
              "enabled": false,
              "permissions": []
            },
            "delete": {
              "enabled": false,
              "permissions": []
            },
            "changestatus": {
              "enabled": false,
              "permissions": []
            },
            "order": {
              "enabled": false,
              "permissions": []
            }
          },
          "vueapphomewidget": {
            "view": {
              "enabled": false,
              "permissions": [
                "$online/$anyowner"
              ]
            },
            "insert": {
              "enabled": false,
              "permissions": []
            },
            "update": {
              "enabled": false,
              "permissions": []
            },
            "delete": {
              "enabled": false,
              "permissions": []
            },
            "i18nfieldstranslate": {
              "enabled": false,
              "permissions": []
            },
            "changestatus": {
              "enabled": false,
              "permissions": []
            },
            "order": {
              "enabled": false,
              "permissions": []
            }
          }
        },
        ...
        "configresolver": {},
        "bundles": {},
        "objectstruct": {}
      },
      "outOfSync": false
    }
  • rubrique: ,10070,10072,10075,10102,10114,10161,10177,10157,10128,10158,10131,10132,10147, --> ,10070,10072,10075,10102,10132,10183,


pkgroletemplate/999

  • modified: 23/09/2022 17:05:22 --> 13/04/2023 17:48:11

  • permissions : Changes only are displayed

    Code Block
    languagejson
    {
      "v1": 
      { 
        ...
        "configresolver": {},
        "bundles": {},
        "objectstruct": {}
      },
      "outOfSync": false
    }
    

...

resolution

Resolution instances were lacking translations.

...

  • configured_widgets A new syntax is available to define criteria for querying instances to display inside a widget.
    Before, you would define a query entry. This property is deprecated, but is still understood by the plugin.
    Now, you will define a filters entry. Filters entry uses the same syntax as /bov3/datalist/preload.jsp uses.
    It is recommended to update your current configuration so that links are available within each widgets.

  • remove_widgets By default, listAssetsCall2Action widget is now removed:

    • It came with an image that was not configurable easily

    • It didn’t bring much business value

  • default_widgets Roles no longer include listAssetsCall2Action widget

  • default_roletemplate_widgets: Role templates no longer include listAssetsCall2Action widget

See BO Configuration checklist for detailed explanations.

...

  • Activated:

    • true

...

PACKAGED_Faces

  • Activated:

    • true

Security changes

Domains changes

objectactions

  • Enabled: false --> true

...

objectstruct

delete
  • Rules:

    • WEDIA Packaged - Default rule

insert
  • Rules:

    • WEDIA Packaged - Default rule

update
  • Rules:

    • WEDIA Packaged - Default rule

RESTAPI DAM/DATA & metadata configuration in wedia-config

When using metadata editing in wedia-config on a production server, in order for the DAM & DATA API configurations to synchronize with the structure changes, it is necessary to activate the automatic hot update of the API configurations by setting the lazyDeployDamServicesInProd parameter of the WXM_RESTAPI plugin to true. Otherwise, the API configurations will reflect the metadata changes only after restarting the WXM_RESTAPI plugin.