Versions Compared

Key

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

...

Plugins changes

In a nutshell:

  • PACKAGED_Security is configured to have parameter enable_role_type_management to true. This is required to enable role management UI

  • WXM_RESTAPI is configured to have parameter applyAggFieldBaseWheres to true. This is required in regard to portal new security policy.

  • UPDATE PACKAGED_BOV3_DashboardWidgets (So default pkgroletemplate widgets are matching new IDs)

  • ADDED PACKAGED_PortalAssetPickerSandbox (Sandbox for picker)

  • UPDATED PACKAGED_Security

    • role_template_default_permissions parameter default value updates

    • permissions_inferring parameter default value update

    • macro pkgV1ObjectActions(action) updated

Expand
titleDetailes plugins changes

PACKAGED_BOV3_DashboardWidgets

plugin.xml

  • Parameters:

    • UPDATED default_roletemplate_widgets:

      • default value:

        • Old:

        Code Block
        languagejson
          {
        "3": {
        "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
        }
        ]
        },
        "2": {
        "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
        }
        ]
        },
        "1": {
        "bloc": []
        }
        }
        • New:

        Code Block
        languagejson
          {
        "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": []
        }
        }

PACKAGED_PortalAssetPickerSandbox (ADDED)

plugin.xml

  • Parameters:

    • pluginName:

      • type: string

      • mandatory: true

      • description:

      • default value: PACKAGED_Portal

    • libName:

      • type: string

      • mandatory: true

      • description:

      • default value: wedia-content-picker.js

    • defaultConfig:

      • type: json

      • mandatory: true

      • description:

      • default value:

      Code Block
      languagejson
      {
           "assetNatures": "IMAGE",
           "variations": "circle_png",
           "min": 1,
           "max": 1,
           "fulltext": "",
           "showPreview": false,
           "showFilters": false,
           "ordered": false,
           "showSort": false,
           "showCursors": true,
           "showCropper": true,
           "showFocus": false,
           "expectedWidth": 500,
           "expectedHeight": 300,
           "configPaths": [
             { "value": "", "text": "", "selected": true },
             { "value": "picker-hotels", "text": "picker-hotels", "selected": false }
           ]
         }

PACKAGED_Security

plugin.xml

  • Services:

    • ADDED com.wedia.packaged.security.extensions.PackagedSecurityIntegrityCheck (com.noheto.extensions.interfaces.services.IObjectTriggerBusinessService)

  • Parameters:

    • UPDATED role_template_default_permissions:

      • default value:

        • Old:

        Code Block
        languagejson
          
          {
            "v1": {
              "objectdata":{
                "#damobject": {
                  "editpicture": {
                    "enabled": false,
                    "permissions": []
                  },
                  "slicevideo": {
                    "enabled": false,
                    "permissions": []
                  },
                  "broadcastvideo": {
                    "enabled": false,
                    "permissions": []
                  },
                  "definevideoposter": {
                    "enabled": false,
                    "permissions": []
                  },
                  "editvideochapters": {
                    "enabled": false,
                    "permissions": []
                  },
                  "editvideosubtitles": {
                    "enabled": false,
                    "permissions": []
                  },
                  "embed": {
                    "enabled": false,
                    "permissions": []
                  },
                  "managevideocalltoactions": {
                    "enabled": false,
                    "permissions": []
                  },
                  "managevideorolls": {
                    "enabled": false,
                    "permissions": []
                  }
                }
              }
            }
          }
        
        • New:

        Code Block
        languagejson
          
          {
            "v1": {
              "objectdata": {
                "#damobject": {
                  "broadcastvideo": {
                    "enabled": false,
                    "permissions": []
                  },
                  "definevideoposter": {
                    "enabled": false,
                    "permissions": []
                  },
                  "editpicture": {
                    "enabled": false,
                    "permissions": []
                  },
                  "editvideochapters": {
                    "enabled": false,
                    "permissions": []
                  },
                  "editvideosubtitles": {
                    "enabled": false,
                    "permissions": []
                  },
                  "embed": {
                    "enabled": false,
                    "permissions": []
                  },
                  "managevideocalltoactions": {
                    "enabled": false,
                    "permissions": []
                  },
                  "managevideorolls": {
                    "enabled": false,
                    "permissions": []
                  },
                  "sharesocialnetworks": {
                    "enabled": false,
                    "permissions": []
                  },
                  "slicevideo": {
                    "enabled": false,
                    "permissions": []
                  }
                },
                "resolution": {
                  "view": {
                    "enabled": false,
                    "permissions": ["$anystatus/$anyowner"]
                  }
                },
                "user": {
                  "insert": {
                    "enabled": false,
                    "permissions": []
                  },
                  "update": {
                    "enabled": false,
                    "permissions": []
                  },
                  "delete": {
                    "enabled": false,
                    "permissions": []
                  },
                  "changestatus": {
                    "enabled": false,
                    "permissions": []
                  },
                  "view": {
                    "enabled": false,
                    "permissions": ["$online/$anyowner"]
                  }
                },
                "userregistration": {
                  "insert": {
                    "enabled": false,
                    "permissions": []
                  },
                  "update": {
                    "enabled": false,
                    "permissions": []
                  },
                  "delete": {
                    "enabled": false,
                    "permissions": []
                  },
                  "changestatus": {
                    "enabled": false,
                    "permissions": []
                  },
                  "view": {
                    "enabled": false,
                    "permissions": []
                  }
                },
                "vueapphomewidget": {
                  "view": {
                    "enabled": true,
                    "permissions": ["$online/$anyowner"]
                  }
                }
              },
              "applications": {
                "isavailable": {
                  "enabled": false,
                  "permissions": ["portal"]
                }
              }
            }
          }
        
    • UPDATED permissions_inferring:

      • default value:

        • Old:

        Code Block
        languagejson
          
          [
            {
              "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"
                ]
              }
            }
          ]
        
        • New:

        Code Block
        languagejson
          
          [
            {
              "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"
                ]
              }
            }
          ]
        

security.xml

UPDATED pkgV1ObjectActions(action)

Old expression

Code Block
/* 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', ':', objectname, ':', '$anycreation'), ',') > 0
        OR
        NBCOMMONELEMENTS(surfer.pkgsecurity_v1_objectdata, CONCAT('insert', ':', 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:', objectname, ':'),
        CONCAT('update:', objectname, ',::')
      ) /* permet de passer de update:objectname:xx*/,
      CONCAT('update:', objectname)
    ) > 0
  )
  OR
  (
    /* other actions */
    NBCOMMONELEMENTS(LOWER(arguments.action), LOWER('broadcastVideo,defineVideoPoster,delete,editPicture,editVideoChapters,editVideoSubtitles,embed,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), ':', objectname, ':'),
        CONCAT(LOWER(arguments.action), ':', objectname, ',::')
      ),
      CONCAT(LOWER(arguments.action), ':', objectname)
    ) > 0
  )
)

New expression

Code Block
/* 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', ':', objectname, ':', '$anycreation'), ',') > 0
        OR
        NBCOMMONELEMENTS(surfer.pkgsecurity_v1_objectdata, CONCAT('insert', ':', 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:', objectname, ':'),
        CONCAT('update:', objectname, ',::')
      ) /* permet de passer de update:objectname:xx*/,
      CONCAT('update:', 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), ':', objectname, ':'),
        CONCAT(LOWER(arguments.action), ':', objectname, ',::')
      ),
      CONCAT(LOWER(arguments.action), ':', objectname)
    ) > 0
  )
)

WXM_ANALYTICS_V2

plugin.xml

  • Parameters:

    Parameters
    • UPDATED available_menus:

WXM_Multiupload_Config

plugin.xml

    • :

    • UPDATED jsonConfigs:

      description: ~~format: {"s3Configs":[{"region":"eu-west-1","bucketName":"monbicket"}], "ftpConfigs":[{"url":"ftp://pipo"}]}~~ --> format: {"s3Configs":[{"region":"eu-west-1","bucketName":"monbicket"}], "ftpConfigs":[{"url":"<ftp://pipo"},> {"url":"<ftp://pipo",> "ftpsUse":true, "ftpsImplicit":true, "ftpsProtocol":"TLS|SSL","ftpsTrustmgr":"all|valid|none"}]}


WXM_Multiupload_Config

plugin.xml

  • Parameters:

    • UPDATED jsonConfigs:

      • description: ~~format: {"s3Configs":[{"region":"eu-west-1","bucketName":"monbicket"}], "ftpConfigs":[{"url":"ftp://pipo"}]}~~ --> format: {"s3Configs":[{"region":"eu-west-1","bucketName":"monbicket"}], "ftpConfigs":[{"url":"<ftp://pipo"},> {"url":"<ftp://pipo",> "ftpsUse":true, "ftpsImplicit":true, "ftpsProtocol":"TLS|SSL","ftpsTrustmgr":"all|valid|none"}]}

...

Portal upgrades

Disabling number of retrieved boards

...