Portal Config
BREAKING CHANGE
All portal apps related JSON configs have been moved to another directory.
All portal configs from portal/src/wedia-plugin-template/res
have been moved to portal/src/wedia-portal-apps-configs
Therefore all project configs directories MUST be moved to the new directory (portal/src/wedia-portal-apps-configs
) too
Supported browsers
We have reviewed the list of supported browsers in portal. It is now defined as last 2 years
in .browserslistrc
. If you need to support older browsers (which you should not), you can set back old config: 1%,last 2 versions,not ie <= 8
or adapt it to your needs
Portal server-side’s style
This upgrade will allow portal to have a server-side generated style. This wil be used to switch portal colors from wedia-config.
Conditions to enable the color switch feature: 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 automatically.
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"”. 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_”.
$dam.details.defaultCursorConfig.defaultAssetDetailMeta.column[i].tabs[n].auto
is set to true
by default in starter-kit configuration.
In both modes (auto or manual) only metadatas with corresponding data are displayed.
Reference page : Asset details page
Back-Office changes in starter-kit
starter-kit settings for the Back Office have changed :
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 (prior to 2023.3)
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
Structures changes
asset
Fields changes
dteendrights
Tags:
Removed:
pkg/wediaconfig/custom
source
Tags:
Added:
rest_api_include
pimasset
Fields changes
source
Tags:
Added:
rest_api_include
pkgsecugroup
Faces
pkgsecupermission
Fields changes
permission
In list:
false--> true
lang
Tags
Added
rest_api_include/appsettings
Instances changes
pkgroletemplate
resolution
role
rubrique
BO menu has been reorganized and many instances deactivated because menu is now automatically generated based on permissions
Plugins changes
PACKAGED_Appearance_Config (ADDED)
This plugin will bring new endpoints allowing to read and write logos and colors in the san
PACKAGED_BOV3_DashboardWidgets
plugin.xml
Parameters:
UPDATED configured_widgets:
default value:
Old:
{ "candidates_keywords": { "object": "assetkeyword", "fields": [ "name", "created" ], "query": { "field": "status", "method": "addChildMultiIn", "value": "2" } }, "userrequests": { "object": "userregistration", "fields": [ "firstname", "lastname", "login", "company", "created" ], "query": { "field": "activated", "method": "addChildEquals", "value": "1" } }, "rejectedassets": { "object": "asset", "fields": [ "name", "binary", "modified", "status" ], "query": { "field": "status", "method": "addChildEquals", "value": "9" } }, "pendingassets": { "object": "asset", "fields": [ "name", "binary", "modified", "owner" ], "query": { "field": "status", "method": "addChildEquals", "value": "8" } } }
New:
{ "candidates_keywords": { "object": "assetkeyword", "fields": [ "name", "created" ], "filters": { "status": { "in": [ "2" ] } }, "orderBy": "pmodified asc", "template": null }, "userrequests": { "object": "userregistration", "fields": [ "firstname", "lastname", "login", "company", "created" ], "filters": { "activated": { "in": [ "1" ] } }, "orderBy": "pmodified asc", "template": null }, "rejectedassets": { "object": "#damobject", "fields": [ "name", "binary", "modified", "status" ], "filters": { "status": { "in": [ "9" ] } }, "orderBy": "pmodified asc", "template": null }, "pendingassets": { "object": "#damobject", "fields": [ "name", "binary", "modified", "owner" ], "filters": { "status": { "in": [ "8" ] } }, "orderBy": "pmodified asc", "template": null } }
UPDATED remove_widgets:
default value:
Old:
{ "bloc_object_contents": true, "articles": true, "expiringAssets": "${surfer.properties.roleid ne '28' and surfer.properties.roleid ne '27' and surfer.properties.roleid ne '4' and surfer.properties.pkgroletemplate ne '998' and surfer.properties.pkgroletemplate ne '997'}", "news": true, "my_projects": true, "mediacore_proposed": true, "galleryelements": true, "bloc_authorizedusers": "${surfer.properties.roleid ne '27' and surfer.properties.roleid ne '4' and surfer.properties.pkgroletemplate ne '997'}", "PACKAGED_BOV3_DashboardWidgets_userrequests": "${surfer.properties.roleid ne '27' and surfer.properties.roleid ne '4' and surfer.properties.pkgroletemplate ne '997'}", "PACKAGED_BOV3_DashboardWidgets_candidates_keywords": "${surfer.properties.roleid ne '28' and surfer.properties.roleid ne '27' and surfer.properties.roleid ne '4' and surfer.properties.pkgroletemplate ne '998' and surfer.properties.pkgroletemplate ne '997'}", "PACKAGED_BOV3_DashboardWidgets_pendingassets": "${surfer.properties.roleid ne '27' and surfer.properties.roleid ne '4' and surfer.properties.pkgroletemplate ne '997'}", "PACKAGED_BOV3_DashboardWidgets_rejectedassets": "${surfer.properties.roleid ne '27' and surfer.properties.roleid ne '28' and surfer.properties.roleid ne '4' and surfer.properties.pkgroletemplate ne '998' and surfer.properties.pkgroletemplate ne '997'}" }
New:
{ "listAssetsCall2Action": true, "bloc_object_contents": true, "articles": true, "expiringAssets": "${surfer.properties.roleid ne '28' and surfer.properties.roleid ne '27' and surfer.properties.roleid ne '4' and surfer.properties.pkgroletemplate ne '998' and surfer.properties.pkgroletemplate ne '997'}", "news": true, "my_projects": true, "mediacore_proposed": true, "galleryelements": true, "bloc_authorizedusers": "${surfer.properties.roleid ne '27' and surfer.properties.roleid ne '4' and surfer.properties.pkgroletemplate ne '997'}", "PACKAGED_BOV3_DashboardWidgets_userrequests": "${surfer.properties.roleid ne '27' and surfer.properties.roleid ne '4' and surfer.properties.pkgroletemplate ne '997'}", "PACKAGED_BOV3_DashboardWidgets_candidates_keywords": "${surfer.properties.roleid ne '28' and surfer.properties.roleid ne '27' and surfer.properties.roleid ne '4' and surfer.properties.pkgroletemplate ne '998' and surfer.properties.pkgroletemplate ne '997'}", "PACKAGED_BOV3_DashboardWidgets_pendingassets": "${surfer.properties.roleid ne '27' and surfer.properties.roleid ne '4' and surfer.properties.pkgroletemplate ne '997'}", "PACKAGED_BOV3_DashboardWidgets_rejectedassets": "${surfer.properties.roleid ne '27' and surfer.properties.roleid ne '28' and surfer.properties.roleid ne '4' and surfer.properties.pkgroletemplate ne '998' and surfer.properties.pkgroletemplate ne '997'}" }
UPDATED default_widgets:
default value:
Old:
{ "27": { "bloc": [ { "code": "listAssetsCall2Action", "title": "block_assets_list_c2a", "path": "/_plugins/PACKAGED_DAM_DashboardWidgets/page/bov3/dataindex/content/widgets/assets_c2a.jspz", "open": "true", "img": "", "nbr": "5", "params": "", "col": "" }, { "code": "latestAssets", "title": "block_latest_assets_label", "path": "/_plugins/PACKAGED_DAM_DashboardWidgets/page/bov3/dataindex/content/widgets/latest_assets.jspz", "img": "", "open": "true", "nbr": "5", "col": "" }, { "code": "expiringAssets", "title": "block_expiring_assets_label", "path": "/_plugins/PACKAGED_DAM_DashboardWidgets/page/bov3/dataindex/content/widgets/expiring_assets.jspz", "open": "true", "img": "", "nbr": "5", "params": "", "col": 0 }, { "code": "PACKAGED_BOV3_DashboardWidgets_pendingassets", "title": "PACKAGED_BOV3_DashboardWidgets_pendingassets_title", "path": "/_plugins/PACKAGED_BOV3_DashboardWidgets/page/bov3/dataindex/content/widgets/configured_items.jspz", "open": "true", "nbr": "5", "params": "pendingassets", "col": 1 }, { "code": "PACKAGED_BOV3_DashboardWidgets_userrequests", "title": "PACKAGED_BOV3_DashboardWidgets_userrequests_title", "path": "/_plugins/PACKAGED_BOV3_DashboardWidgets/page/bov3/dataindex/content/widgets/configured_items.jspz", "open": "true", "nbr": "5", "params": "userrequests", "col": 1 }, { "code": "PACKAGED_BOV3_DashboardWidgets_candidates_keywords", "title": "PACKAGED_BOV3_DashboardWidgets_candidates_keywords_title", "path": "/_plugins/PACKAGED_BOV3_DashboardWidgets/page/bov3/dataindex/content/widgets/configured_items.jspz", "open": true, "nbr": "5", "params": "candidates_keywords", "col": 1 } ] }, "28": { "bloc": [ { "code": "listAssetsCall2Action", "title": "block_assets_list_c2a", "path": "/_plugins/PACKAGED_DAM_DashboardWidgets/page/bov3/dataindex/content/widgets/assets_c2a.jspz", "open": "true", "img": "", "nbr": "5", "params": "", "col": "" }, { "code": "PACKAGED_BOV3_DashboardWidgets_rejectedassets", "title": "PACKAGED_BOV3_DashboardWidgets_rejectedassets_title", "path": "/_plugins/PACKAGED_BOV3_DashboardWidgets/page/bov3/dataindex/content/widgets/configured_items.jspz", "open": "true", "nbr": "5", "params": "rejectedassets", "col": 1 }, { "code": "latestAssets", "title": "block_latest_assets_label", "path": "/_plugins/PACKAGED_DAM_DashboardWidgets/page/bov3/dataindex/content/widgets/latest_assets.jspz", "img": "", "open": "true", "nbr": "5", "col": "" }, { "code": "expiringAssets", "title": "block_expiring_assets_label", "path": "/_plugins/PACKAGED_DAM_DashboardWidgets/page/bov3/dataindex/content/widgets/expiring_assets.jspz", "open": "true", "img": "", "nbr": "5", "params": "", "col": 0 }, { "code": "PACKAGED_BOV3_DashboardWidgets_candidates_keywords", "title": "PACKAGED_BOV3_DashboardWidgets_candidates_keywords_title", "path": "/_plugins/PACKAGED_BOV3_DashboardWidgets/page/bov3/dataindex/content/widgets/configured_items.jspz", "open": true, "nbr": "5", "params": "candidates_keywords", "col": 1 } ] }, "29": { "bloc": [] } }
New:
{ "27": { "bloc": [ { "code": "latestAssets", "title": "block_latest_assets_label", "path": "/_plugins/PACKAGED_DAM_DashboardWidgets/page/bov3/dataindex/content/widgets/latest_assets.jspz", "img": "", "open": "true", "nbr": "5", "col": "" }, { "code": "expiringAssets", "title": "block_expiring_assets_label", "path": "/_plugins/PACKAGED_DAM_DashboardWidgets/page/bov3/dataindex/content/widgets/expiring_assets.jspz", "open": "true", "img": "", "nbr": "5", "params": "", "col": 0 }, { "code": "PACKAGED_BOV3_DashboardWidgets_pendingassets", "title": "PACKAGED_BOV3_DashboardWidgets_pendingassets_title", "path": "/_plugins/PACKAGED_BOV3_DashboardWidgets/page/bov3/dataindex/content/widgets/configured_items.jspz", "open": "true", "nbr": "5", "params": "pendingassets", "col": 1 }, { "code": "PACKAGED_BOV3_DashboardWidgets_userrequests", "title": "PACKAGED_BOV3_DashboardWidgets_userrequests_title", "path": "/_plugins/PACKAGED_BOV3_DashboardWidgets/page/bov3/dataindex/content/widgets/configured_items.jspz", "open": "true", "nbr": "5", "params": "userrequests", "col": 1 }, { "code": "PACKAGED_BOV3_DashboardWidgets_candidates_keywords", "title": "PACKAGED_BOV3_DashboardWidgets_candidates_keywords_title", "path": "/_plugins/PACKAGED_BOV3_DashboardWidgets/page/bov3/dataindex/content/widgets/configured_items.jspz", "open": true, "nbr": "5", "params": "candidates_keywords", "col": 1 } ] }, "28": { "bloc": [ { "code": "PACKAGED_BOV3_DashboardWidgets_rejectedassets", "title": "PACKAGED_BOV3_DashboardWidgets_rejectedassets_title", "path": "/_plugins/PACKAGED_BOV3_DashboardWidgets/page/bov3/dataindex/content/widgets/configured_items.jspz", "open": "true", "nbr": "5", "params": "rejectedassets", "col": 1 }, { "code": "latestAssets", "title": "block_latest_assets_label", "path": "/_plugins/PACKAGED_DAM_DashboardWidgets/page/bov3/dataindex/content/widgets/latest_assets.jspz", "img": "", "open": "true", "nbr": "5", "col": "" }, { "code": "expiringAssets", "title": "block_expiring_assets_label", "path": "/_plugins/PACKAGED_DAM_DashboardWidgets/page/bov3/dataindex/content/widgets/expiring_assets.jspz", "open": "true", "img": "", "nbr": "5", "params": "", "col": 0 }, { "code": "PACKAGED_BOV3_DashboardWidgets_candidates_keywords", "title": "PACKAGED_BOV3_DashboardWidgets_candidates_keywords_title", "path": "/_plugins/PACKAGED_BOV3_DashboardWidgets/page/bov3/dataindex/content/widgets/configured_items.jspz", "open": true, "nbr": "5", "params": "candidates_keywords", "col": 1 } ] }, "29": { "bloc": [] } }
UPDATED default_roletemplate_widgets:
default value:
Old:
{ "997": { "bloc": [ { "code": "listAssetsCall2Action", "title": "block_assets_list_c2a", "path": "/_plugins/PACKAGED_DAM_DashboardWidgets/page/bov3/dataindex/content/widgets/assets_c2a.jspz", "open": "true", "img": "", "nbr": "5", "params": "", "col": "" }, { "code": "latestAssets", "title": "block_latest_assets_label", "path": "/_plugins/PACKAGED_DAM_DashboardWidgets/page/bov3/dataindex/content/widgets/latest_assets.jspz", "img": "", "open": "true", "nbr": "5", "col": "" }, { "code": "expiringAssets", "title": "block_expiring_assets_label", "path": "/_plugins/PACKAGED_DAM_DashboardWidgets/page/bov3/dataindex/content/widgets/expiring_assets.jspz", "open": "true", "img": "", "nbr": "5", "params": "", "col": 0 }, { "code": "PACKAGED_BOV3_DashboardWidgets_pendingassets", "title": "PACKAGED_BOV3_DashboardWidgets_pendingassets_title", "path": "/_plugins/PACKAGED_BOV3_DashboardWidgets/page/bov3/dataindex/content/widgets/configured_items.jspz", "open": "true", "nbr": "5", "params": "pendingassets", "col": 1 }, { "code": "PACKAGED_BOV3_DashboardWidgets_userrequests", "title": "PACKAGED_BOV3_DashboardWidgets_userrequests_title", "path": "/_plugins/PACKAGED_BOV3_DashboardWidgets/page/bov3/dataindex/content/widgets/configured_items.jspz", "open": "true", "nbr": "5", "params": "userrequests", "col": 1 }, { "code": "PACKAGED_BOV3_DashboardWidgets_candidates_keywords", "title": "PACKAGED_BOV3_DashboardWidgets_candidates_keywords_title", "path": "/_plugins/PACKAGED_BOV3_DashboardWidgets/page/bov3/dataindex/content/widgets/configured_items.jspz", "open": true, "nbr": "5", "params": "candidates_keywords", "col": 1 } ] }, "998": { "bloc": [ { "code": "listAssetsCall2Action", "title": "block_assets_list_c2a", "path": "/_plugins/PACKAGED_DAM_DashboardWidgets/page/bov3/dataindex/content/widgets/assets_c2a.jspz", "open": "true", "img": "", "nbr": "5", "params": "", "col": "" }, { "code": "PACKAGED_BOV3_DashboardWidgets_rejectedassets", "title": "PACKAGED_BOV3_DashboardWidgets_rejectedassets_title", "path": "/_plugins/PACKAGED_BOV3_DashboardWidgets/page/bov3/dataindex/content/widgets/configured_items.jspz", "open": "true", "nbr": "5", "params": "rejectedassets", "col": 1 }, { "code": "latestAssets", "title": "block_latest_assets_label", "path": "/_plugins/PACKAGED_DAM_DashboardWidgets/page/bov3/dataindex/content/widgets/latest_assets.jspz", "img": "", "open": "true", "nbr": "5", "col": "" }, { "code": "expiringAssets", "title": "block_expiring_assets_label", "path": "/_plugins/PACKAGED_DAM_DashboardWidgets/page/bov3/dataindex/content/widgets/expiring_assets.jspz", "open": "true", "img": "", "nbr": "5", "params": "", "col": 0 }, { "code": "PACKAGED_BOV3_DashboardWidgets_candidates_keywords", "title": "PACKAGED_BOV3_DashboardWidgets_candidates_keywords_title", "path": "/_plugins/PACKAGED_BOV3_DashboardWidgets/page/bov3/dataindex/content/widgets/configured_items.jspz", "open": true, "nbr": "5", "params": "candidates_keywords", "col": 1 } ] }, "999": { "bloc": [] } }
New:
{ "997": { "bloc": [ { "code": "latestAssets", "title": "block_latest_assets_label", "path": "/_plugins/PACKAGED_DAM_DashboardWidgets/page/bov3/dataindex/content/widgets/latest_assets.jspz", "img": "", "open": "true", "nbr": "5", "col": "" }, { "code": "expiringAssets", "title": "block_expiring_assets_label", "path": "/_plugins/PACKAGED_DAM_DashboardWidgets/page/bov3/dataindex/content/widgets/expiring_assets.jspz", "open": "true", "img": "", "nbr": "5", "params": "", "col": 0 }, { "code": "PACKAGED_BOV3_DashboardWidgets_pendingassets", "title": "PACKAGED_BOV3_DashboardWidgets_pendingassets_title", "path": "/_plugins/PACKAGED_BOV3_DashboardWidgets/page/bov3/dataindex/content/widgets/configured_items.jspz", "open": "true", "nbr": "5", "params": "pendingassets", "col": 1 }, { "code": "PACKAGED_BOV3_DashboardWidgets_userrequests", "title": "PACKAGED_BOV3_DashboardWidgets_userrequests_title", "path": "/_plugins/PACKAGED_BOV3_DashboardWidgets/page/bov3/dataindex/content/widgets/configured_items.jspz", "open": "true", "nbr": "5", "params": "userrequests", "col": 1 }, { "code": "PACKAGED_BOV3_DashboardWidgets_candidates_keywords", "title": "PACKAGED_BOV3_DashboardWidgets_candidates_keywords_title", "path": "/_plugins/PACKAGED_BOV3_DashboardWidgets/page/bov3/dataindex/content/widgets/configured_items.jspz", "open": true, "nbr": "5", "params": "candidates_keywords", "col": 1 } ] }, "998": { "bloc": [ { "code": "PACKAGED_BOV3_DashboardWidgets_rejectedassets", "title": "PACKAGED_BOV3_DashboardWidgets_rejectedassets_title", "path": "/_plugins/PACKAGED_BOV3_DashboardWidgets/page/bov3/dataindex/content/widgets/configured_items.jspz", "open": "true", "nbr": "5", "params": "rejectedassets", "col": 1 }, { "code": "latestAssets", "title": "block_latest_assets_label", "path": "/_plugins/PACKAGED_DAM_DashboardWidgets/page/bov3/dataindex/content/widgets/latest_assets.jspz", "img": "", "open": "true", "nbr": "5", "col": "" }, { "code": "expiringAssets", "title": "block_expiring_assets_label", "path": "/_plugins/PACKAGED_DAM_DashboardWidgets/page/bov3/dataindex/content/widgets/expiring_assets.jspz", "open": "true", "img": "", "nbr": "5", "params": "", "col": 0 }, { "code": "PACKAGED_BOV3_DashboardWidgets_candidates_keywords", "title": "PACKAGED_BOV3_DashboardWidgets_candidates_keywords_title", "path": "/_plugins/PACKAGED_BOV3_DashboardWidgets/page/bov3/dataindex/content/widgets/configured_items.jspz", "open": true, "nbr": "5", "params": "candidates_keywords", "col": 1 } ] }, "999": { "bloc": [] } }
PACKAGED_BOV3_Extensions (ADDED)
plugin.xml
Parameters:
list.display.config:
type:
json
mandatory:
true
description: Configuration of lists to display.
families parameter can take following values : objectfamily.id, objectfamily.name, or a sql query on name field (eg: dam.metadata.%).
Families can be combined to be displayed in the same table.default value:
[ { "families": [ "dam.metadata.opened" ], "i18n": "pkg.bov3.manage-opened-list" }, { "families": [ "dam.metadata.closed" ], "i18n": "pkg.bov3.manage-closed-list" } ]
list.security.actions:
type:
string
mandatory:
false
description: Define actions of domain objectactions used to apply security rules on list families content.
Actions can be multiple and separated by a comma.
A list object will be displayed if it is authorized by any action
No security rule will be applied if parameter is empty or action is unknown.default value:
create,multiupdate
enable_auto_menu:
type:
boolean
mandatory:
false
description: Enable auto generated menu
default value:
true
auto_menu_items:
type:
string
mandatory:
false
description:
default value:
dam,admin,analytics
PACKAGED_DAM_DashboardWidgets
plugin.xml
Parameters:
UPDATED wedia_packaged_dam_dashboard_asset_objectname:
default value:
Old:
asset
New:
#damobject
PACKAGED_Faces (ADDED)
plugin.xml
Parameters:
apply_archived_tag_faces:
type:
boolean
mandatory:
true
description: If set to true, the program will apply hide fields wearing
pkg/wediaconfig/custom/archived tag by making them non visible, non editable and non mandatorydefault value:
true
apply_mandatory_tag_faces:
type:
boolean
mandatory:
true
description: If set to true, the program will apply mandatory faces on field wearing
pkg/wediaconfig/custom/mandatory tagdefault value:
true
face_level:
type:
int
mandatory:
false
description: Level of priority for the faces created by the program.
Set to 1000 by default equals to LEVEL_PROJECTdefault value:
1000
PACKAGED_Security
plugin.xml
Parameters:
UPDATED permissions_inferring:
default value:
Old:
[ { "class": "com.wedia.packaged.security.inferring.impl.DamimportInferenceProvider", "init": { "damimport": [ "v1/objectdata/changestatus/$anyaction/$anystatus/$anyowner", "v1/objectdata/delete/$anystatus/$anyowner", "v1/objectdata/insert/$newcreation", "v1/objectdata/update/$anystatus/$anyowner", "v1/objectdata/view/$anystatus/$anyowner" ] } }, { "class": "com.wedia.packaged.security.inferring.impl.MassimportInferenceProvider", "init": { "massimportjob": [ "v1/objectdata/changestatus/start/2/$anyowner", "v1/objectdata/delete/2/$anyowner", "v1/objectdata/insert/$newcreation", "v1/objectdata/update/2/$anyowner", "v1/objectdata/view/2/$anyowner" ], "massimportitem": [ "v1/objectdata/changestatus/$anyaction/2/$anyowner", "v1/objectdata/changestatus/$anyaction/9/$anyowner", "v1/objectdata/changestatus/$anyaction/14/$anyowner", "v1/objectdata/changestatus/$anyaction/8/$anyowner", "v1/objectdata/changestatus/$anyaction/13/$anyowner", "v1/objectdata/delete/2/$anyowner", "v1/objectdata/delete/9/$anyowner", "v1/objectdata/delete/14/$anyowner", "v1/objectdata/delete/8/$anyowner", "v1/objectdata/delete/13/$anyowner", "v1/objectdata/insert/$newcreation", "v1/objectdata/update/2/$anyowner", "v1/objectdata/update/9/$anyowner", "v1/objectdata/update/14/$anyowner", "v1/objectdata/update/8/$anyowner", "v1/objectdata/update/13/$anyowner", "v1/objectdata/view/$anystatus/$anyowner", "v1/objectfile/sendfile/$anystatus/$anyowner/$anyconfidentiality" ], "wkfmassimportitem": [ "v1/objectdata/view/$anystatus/$anyowner" ], "wkfmassimportjob": [ "v1/objectdata/view/$anystatus/$anyowner" ] } } ]
New:
[ { "class": "com.wedia.packaged.security.inferring.impl.DamimportInferenceProvider", "init": { "damimport": [ "v1/objectdata/changestatus/$anyaction/$anystatus/$anyowner", "v1/objectdata/delete/$anystatus/$anyowner", "v1/objectdata/insert/$newcreation", "v1/objectdata/update/$anystatus/$anyowner", "v1/objectdata/view/$anystatus/$anyowner" ] } }, { "class": "com.wedia.packaged.security.inferring.impl.MassimportInferenceProvider", "init": { "massimportjob": [ "v1/objectdata/changestatus/start/2/$anyowner", "v1/objectdata/delete/2/$anyowner", "v1/objectdata/insert/$newcreation", "v1/objectdata/update/2/$anyowner", "v1/objectdata/view/2/$anyowner" ], "massimportitem": [ "v1/objectdata/changestatus/$anyaction/2/$anyowner", "v1/objectdata/changestatus/$anyaction/9/$anyowner", "v1/objectdata/changestatus/$anyaction/14/$anyowner", "v1/objectdata/changestatus/$anyaction/8/$anyowner", "v1/objectdata/changestatus/$anyaction/13/$anyowner", "v1/objectdata/delete/2/$anyowner", "v1/objectdata/delete/9/$anyowner", "v1/objectdata/delete/14/$anyowner", "v1/objectdata/delete/8/$anyowner", "v1/objectdata/delete/13/$anyowner", "v1/objectdata/insert/$newcreation", "v1/objectdata/update/2/$anyowner", "v1/objectdata/update/9/$anyowner", "v1/objectdata/update/14/$anyowner", "v1/objectdata/update/8/$anyowner", "v1/objectdata/update/13/$anyowner", "v1/objectdata/view/$anystatus/$anyowner", "v1/objectfile/sendfile/$anystatus/$anyowner/$anyconfidentiality" ], "wkfmassimportitem": [ "v1/objectdata/view/$anystatus/$anyowner" ], "wkfmassimportjob": [ "v1/objectdata/view/$anystatus/$anyowner" ] } }, { "class": "com.wedia.packaged.security.inferring.impl.ApplicationsInferenceProvider", "init": { "": [ "v1/applications/isavailable/wedia-config" ] } } ]
security.xml
ADDED pkgV1ObjectStruct(action)
( NBCOMMONELEMENTS(LOWER(arguments.action), 'insert,delete,update') > 0 AND ( NBCOMMONELEMENTS(surfer.pkgsecurity_v1_objectstruct, arguments.action) > 0 ) )
UPDATED pkgV1ConfigResolver(action)
Old expression
( /* action is isAvailable */ ( LOWER(arguments.action) = 'read' AND NBCOMMONELEMENTS(surfer.pkgsecurity_v1_configresolver, LOWER(arguments.action)) > 0 ) OR ( LOWER(arguments.action) = 'write' AND NBCOMMONELEMENTS( REPLACE(surfer.pkgsecurity_v1_configresolver, LOWER('writeLayer:'), LOWER('write::')), 'write::' ) > 0 ) OR ( LOWER(arguments.action) = LOWER('writeLayer') AND ( NBCOMMONELEMENTS(surfer.pkgsecurity_v1_configresolver, CONCAT(LOWER(arguments.action), ':', '$anylayer')) > 0 OR NBCOMMONELEMENTS(surfer.pkgsecurity_v1_configresolver, CONCAT(LOWER(arguments.action), ':', layer)) > 0 ) ) )
New expression
( /* action is isAvailable */ ( LOWER(arguments.action) = 'read' AND NBCOMMONELEMENTS(surfer.pkgsecurity_v1_configresolver, LOWER(arguments.action)) > 0 ) OR ( LOWER(arguments.action) = 'write' AND NBCOMMONELEMENTS( REPLACE(surfer.pkgsecurity_v1_configresolver, LOWER('writeLayer:'), LOWER('write::,')), 'write::' ) > 0 ) OR ( LOWER(arguments.action) = LOWER('writeLayer') AND ( NBCOMMONELEMENTS(surfer.pkgsecurity_v1_configresolver, CONCAT(LOWER(arguments.action), ':', '$anylayer')) > 0 OR NBCOMMONELEMENTS(surfer.pkgsecurity_v1_configresolver, CONCAT(LOWER(arguments.action), ':', layer)) > 0 ) ) )
WXM_BO_Options
plugin.xml
Parameters:
ADDED com.noheto.waf.DetectSlowPostHttpServletRequest.Options.MaxMilliseconds:
type: integer
mandatory: false
description: Maximum number of milliseconds that file reception can take in POST. If 0 then no limit.
default value: 0
ADDED com.noheto.waf.DetectSlowPostHttpServletRequest.Options.MaxMillisecondsBetweenTwoCall:
type: integer
mandatory: false
description: Maximum number of milliseconds between two byte receptions during a POST. If between two bytes, the time is exceeded then it is considered an attempt to ''deny'' service. If 0 then no limit.
default value: 5000
ADDED com.noheto.waf.DetectSlowPostHttpServletRequest.Options.MinOctetsBySecond:
type: integer
mandatory: false
description: Minimum bandwidth in bytes/seconds below which the connection will be considered as a service ''deny'' attempt and therefore cut. If 0 then no limit.
default value: 100
WXM_IA_CUSTOM_LABELS
plugin.xml
Parameters:
ADDED mappingPresenceIdentifiable:
type: string
mandatory: false
description: Liste des labels ,en anglais, qui indiquent une présence identifiable
default value: Face
UPDATED variation:
default value:
Old:
thumbnailSmall.jpg
New:
thumbnailSmall.png
security.xml
WXM_MEDIACLOUD_V2 (ADDED)
plugin.xml
Services:
com.wedia.mediacloud.LifeCycle
(com.noheto.extensions.interfaces.services.IPluginLifeCycleBusinessService
)com.wedia.mediacloud.cloudApi.CloudRestAPI
(com.noheto.extensions.interfaces.services.AbstractPluginApiService
)
Plugins Config changes
PACKAGED_Appearance_Config
Activated:
true
PACKAGED_BASES
Activated:
true
PACKAGED_BOV3_Extensions
Activated:
true
PACKAGED_CONFIGS
Activated:
true
PACKAGED_Faces
Activated:
true
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.