Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

 Table of content

PACKAGED_Portal & New features

 Global view of the config change log

image-20241209-164951.png

Structures changes

asset

Fields changes

  • owner

    • Tags:

      • Added: rest_api_include

  • copietravail

    • Tags:

      • Added: rest_api_include

  • uid

    • Tags:

      • Added: rest_api_include

  • version

    • Tags:

      • Added: rest_api_include

  • portals

    • Tags:

      • Added: pkg/versions/keep/on/publish

  • versionsdata (added)

    • Type: data

    • Nature:

    • Label:

    • Default value:

    • Order: 7400

    • Remote name:

    • Max size: 0

    • Attachment:

    • In list:

    • Editable: false

    • Viewable: false

    • Mandatory: false

    • Null if empty: false

    • Auto carriage return: false

    • Index: Not indexed

    • i18n: false

    • i18n for:

    • Tags:


pimasset

Fields changes

  • portals (added)

    • Type: childmultilngdb

    • Nature: portal

    • Label:

    • Default value:

    • Order: 7300

    • Remote name:

    • Max size: 0

    • Attachment:

    • In list:

    • Editable: false

    • Viewable: false

    • Mandatory: false

    • Null if empty: false

    • Auto carriage return: false

    • Index: Not indexed

    • i18n: false

    • i18n for:

    • Tags: pkg/versions/keep/on/publish, rest_api_include

  • versionsdata (added)

    • Type: data

    • Nature:

    • Label:

    • Default value:

    • Order: 7400

    • Remote name:

    • Max size: 0

    • Attachment:

    • In list:

    • Editable: false

    • Viewable: false

    • Mandatory: false

    • Null if empty: false

    • Auto carriage return: false

    • Index: Not indexed

    • i18n: false

    • i18n for:

    • Tags:


wxmcart

Fields changes

  • name

    • Type:
      data --> sentence

Instances changes

On the changes below we can see that, a new workflow action has been added to the default asset workflow (wkfasset). This action enables publishing or republishing of archived assets. By default, this action is available only to users with the Administrator role type.

wkfassetaction

wkfassetaction/13 (ADDED)

  • activated: 1

  • child:

  • condition:

  • created: 12/11/2024 09:14:32

  • forward: 0

  • icon:

  • id: 13

  • modified: 12/11/2024 09:14:32

  • name: publish

  • ontransition:

  • owner: 1

  • parent:

  • position: 0

  • roles:

  • state_in: 7

  • state_out: 6

  • status: 2


pkgroletemplate

pkgroletemplate/997

image-20241204-105801.png
 puml code
@startuml
title diffInstances v2024.4.0 -o pkgroletemplate -i 997 -f puml
hide empty members
hide circle

 package pkgroletemplate {
       class 997 {
                #permissions
       }
           rectangle 997_permissions as "
{{json
<style>
.removed {
BackgroundColor pink
FontColor red
}
.added {
BackgroundColor lightgreen
FontColor darkgreen
}
</style>
#highlight "v1" / "objectdata" / "@dam.collection~wkfasset" / "changestatus" / "permissions" / "0" <<added>>
{
"v1": 
{
"objectdata": 
{
"@dam.collection~wkfasset": 
{
"changestatus": 
{
"permissions": 
[
"publish/7/$anyowner"
]
}
}
}
}
}
}}
   "
           997::permissions-->997_permissions
 }
@enduml

Plugins changes

PACKAGED_CW_FeedbackService

plugin.xml

  • Parameters:

    • UPDATED mail_to:

      • default value:

        • Old:

          feedback@wedia-group.com
        • New:

         
    • UPDATED mail_cci:

      • default value:

        • Old:

         
        • New:

          feedback@wedia-group.com

WXM_Analytics_OData

plugin.xml

  • Parameters:

    • UPDATED authorized_role_ids:

      • default value:

        • Old:

         
        • New:

          4,27

WXM_BO_Options

plugin.xml

  • Parameters:

    • UPDATED cache_cdnMaxAge:

      • default value:

        • Old:

          86400
        • New:

          2592000
    • UPDATED cache_cdnStaleMaxAge:

      • default value:

        • Old:

          86400
        • New:

          2592000

WXM_DAMDY

plugin.xml

  • Parameters:

    • UPDATED evp.ia.activated:

      • default value:

        • Old:

          false
        • New:

          true

WXM_FulltextSandbox

plugin.xml

  • Parameters:

    • UPDATED fieldsBoosts:

      • default value:

        • Old:

         
        • New:

          {"*.#boost40": 40}

PACKAGED_Versions (ADDED)

plugin.xml

  • Services:

    • com.wedia.packaged.versions.extensions.AssetsTrigger (com.noheto.extensions.interfaces.services.IObjectTriggerBusinessService)

    • com.wedia.packaged.versions.extensions.PluginLifecycle (com.noheto.extensions.interfaces.services.IPluginLifeCycleBusinessService)

    • com.wedia.packaged.versions.extensions.VersionsAPIService (com.noheto.extensions.interfaces.services.AbstractPluginApiService)

    • com.noheto.restapi.startup.ApiBusinessServiceStartup (com.noheto.extensions.interfaces.services.InstallableService)

    • com.wedia.packaged.versions.extensions.VersionsAdminApiService (com.noheto.extensions.interfaces.services.AbstractPluginApiService)


PACKAGED_Security

UPDATED pkgV1ObjectActions(action)

image-20241204-142300.png

Old expression

 Details
/* Object has appropriate tag */
(
  /* Tous */
  CONFIGHASTAG(objectname, 'pkg/security/secugroup/all')
  OR
  /* Qui ont l'action */
  CONFIGHASTAG(objectname, CONCAT('pkg/security/secugroup/', LOWER(arguments.action)))
  OR
  (
    /* Les droits de create,damimport,massimport sont liés à l'insert */
    NBCOMMONELEMENTS(LOWER(arguments.action), 'create,damimport,massimport') > 0
    AND
    CONFIGHASTAG(objectname, CONCAT('pkg/security/secugroup/insert'))
  )
  OR
  (
    /* Le droit de multiupdate est lié à l'update */
    LOWER(arguments.action) = 'multiupdate'
    AND
    CONFIGHASTAG(objectname, CONCAT('pkg/security/secugroup/update'))
  )
)
AND
(
  /* insert/create action */
  (
    NBCOMMONELEMENTS(LOWER(arguments.action), 'create,damimport,massimport,insert') > 0
    AND
    (
        /* User has rights to create this kind of object if he has $anycreation or $newcreation (but not $copycreation) */
        NBCOMMONELEMENTS(surfer.pkgsecurity_v1_objectdata, CONCAT('insert', ':', LOWER(objectname), ':', '$anycreation'), ',') > 0
        OR
        NBCOMMONELEMENTS(surfer.pkgsecurity_v1_objectdata, CONCAT('insert', ':', LOWER(objectname), ':', '$newcreation'), ',') > 0
    )
  )
  OR
  (
    /* multiupdate/datavaluespicker action */
    NBCOMMONELEMENTS(LOWER(arguments.action), 'datavaluespicker,multiupdate,update') > 0
    AND
    /* User has rights to datavaluespicker/multiupdate if he has right to update, but regardless of modifiers */
    NBCOMMONELEMENTS(
      REPLACE(
        surfer.pkgsecurity_v1_objectdata,
        CONCAT('update:', LOWER(objectname), ':'),
        CONCAT('update:', LOWER(objectname), ',::')
      ) /* permet de passer de update:objectname:xx*/,
      CONCAT('update:', LOWER(objectname))
    ) > 0
  )
  OR
  (
    /* other actions */
    NBCOMMONELEMENTS(LOWER(arguments.action), LOWER('broadcastVideo,defineVideoPoster,delete,editPicture,editVideoChapters,editVideoSubtitles,embed,i18nFieldsTranslate,manageVideoCallToActions,manageVideoRolls,order,sliceVideo,shareSocialNetworks,view')) > 0
    AND
    /* User has rights to other actions if he has right to other actions, but regardless of modifiers */
    NBCOMMONELEMENTS(
      REPLACE(
        surfer.pkgsecurity_v1_objectdata,
        CONCAT(LOWER(arguments.action), ':', LOWER(objectname), ':'),
        CONCAT(LOWER(arguments.action), ':', objectname, ',::')
      ),
      CONCAT(LOWER(arguments.action), ':', objectname)
    ) > 0
  )
)

New expression

 Details
/* Object has appropriate tag */
(
  /* Tous */
  CONFIGHASTAG(objectname, 'pkg/security/secugroup/all')
  OR
  /* Qui ont l'action */
  CONFIGHASTAG(objectname, CONCAT('pkg/security/secugroup/', LOWER(arguments.action)))
  OR
  (
    /* Les droits de create,damimport,massimport sont liés à l'insert */
    NBCOMMONELEMENTS(LOWER(arguments.action), 'create,damimport,massimport') > 0
    AND
    CONFIGHASTAG(objectname, CONCAT('pkg/security/secugroup/insert'))
  )
  OR
  (
    /* Le droit de multiupdate est lié à l'update */
    LOWER(arguments.action) = 'multiupdate'
    AND
    CONFIGHASTAG(objectname, CONCAT('pkg/security/secugroup/update'))
  )
)
AND
(
  /* insert/create action */
  (
    NBCOMMONELEMENTS(LOWER(arguments.action), 'create,damimport,massimport,insert') > 0
    AND
    (
        /* User has rights to create this kind of object if he has $anycreation or $newcreation (but not $copycreation) */
        NBCOMMONELEMENTS(surfer.pkgsecurity_v1_objectdata, CONCAT('insert', ':', LOWER(objectname), ':', '$anycreation'), ',') > 0
        OR
        NBCOMMONELEMENTS(surfer.pkgsecurity_v1_objectdata, CONCAT('insert', ':', LOWER(objectname), ':', '$newcreation'), ',') > 0
    )
  )
  OR
  (
    /* multiupdate/datavaluespicker action */
    NBCOMMONELEMENTS(LOWER(arguments.action), 'datavaluespicker,multiupdate,update') > 0
    AND
    /* User has rights to datavaluespicker/multiupdate if he has right to update, but regardless of modifiers */
    NBCOMMONELEMENTS(
      REPLACE(
        surfer.pkgsecurity_v1_objectdata,
        CONCAT('update:', LOWER(objectname), ':'),
        CONCAT('update:', LOWER(objectname), ',::')
      ) /* permet de passer de update:objectname:xx*/,
      CONCAT('update:', LOWER(objectname))
    ) > 0
  )
  OR
  (
    /* other actions */
    NBCOMMONELEMENTS(LOWER(arguments.action), LOWER('broadcastVideo,changestatus,defineVideoPoster,delete,editPicture,editVideoChapters,editVideoSubtitles,embed,i18nFieldsTranslate,manageVideoCallToActions,manageVideoRolls,order,sliceVideo,shareSocialNetworks,view')) > 0
    AND
    /* User has rights to other actions if he has right to other actions, but regardless of modifiers */
    NBCOMMONELEMENTS(
      REPLACE(
        surfer.pkgsecurity_v1_objectdata,
        CONCAT(LOWER(arguments.action), ':', LOWER(objectname), ':'),
        CONCAT(LOWER(arguments.action), ':', objectname, ',::')
      ),
      CONCAT(LOWER(arguments.action), ':', objectname)
    ) > 0
  )
)

Security changes

This updates (below and above) were made to simplify and improve the evaluation of a user's changestatus rights on the front end. It is essential for the "update status" action to function correctly from the front end. The primary purpose of this update is to determine if the user has at least one changestatus action available globally within the DAM object structure.

Domains changes

objectactions

changestatus(ADDED)
  • Action description

    • Description:

    • Enabled: true

  • Action parameters:

    • objectname: wsnoheto.securite.parameter.LowerStringParameter

    • surfer: wsnoheto.securite.parameter.SurferParameter

  • Rules:

    • WEDIA Packaged - Default rule

      • Rule details

        • Description: Relies on permissions granted to role

        • Enabled: true

        • Blocking: false

      • Expression:

      @pkgV1ObjectActions('changestatus')
    • WEDIA Packaged - Developper

      • Rule details

        • Description: Developers can do everything

        • Enabled: true

        • Blocking: false

      • Expression:

      @pkgIsSurferDeveloper()

  • No labels