Versions Compared

Key

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

-

Old

Roles

The Request Download Approval features introduces 2 new roles:

  • Download_Approval_Admin - gives a user the ability to modify the request download approval configurations

  • Download_Approval_Bypass - allows a user to download an asset, bypassing the approval process

Prerequisites

In order for a user to have the ability of request the download of an asset, they need to have the roles ‘Asset_Can_Download', ‘Business_Workflow_Instance_View', and ‘Business_Workflow_Instance_Transition'. They also need the download qualities (as they already did).

The workflow used for the approval process needs to fulfill all of the following conditions:

  • It needs at least three stages. One for “Pending”, one for “Approved”, and one for “Denied“. We advise you to call them this for maintainability, however, it’s not required.

  • The first transition needs to at least have the constraint “Only Specific User or User Group can transition“, else the users will get an error when they try to instantiate. (For admins, we have a role to bypass this “Only Specific user…“ constraint, and it’s called “Business_Workflow_General_Transition_Executor“. Again, only assign this to admins, as all “Only…“ constraints will be bypassed with this.)

    Image RemovedImage Removed

  • We allow for other constraints on this first transition. Some set up “input constraints“, which are data the requester will be asked to fill out to request a transition.

  • The currently supported input constraints are: String, Int, and Date. Below is an image of how String and Date look for the end user

    Image Removed

In the end, your download request workflow should look something like the following:

...

Some people add onto this base design, and for example allow for a appeal of a request - which would look like the following:

...

Configuration

Info

To do this part, make sure that you have set up a download approval workflow.

In MM5, navigate to the Settings pages, and select the option “Download approval“ from the left side menu.

In the newly opened page you can enable the download request approval and select which workflow to be used for the approval process.

...

Roles

For the roles required to configure workflows and automations, as well as the roles required for other workflow-related functions (such as viewing the task list, transitioning a stage or ability to request download) please refer to: DC 5.5 Roles.

Download request workflow covers the steps in an asset life cycle concerning the use of the existing assets.

An example of a correctly configured download approval flow presented here consists of two stages. In the first stage, the administrator configures the download request workflow. It is here where the administrator can decide on all the criteria that limit the download of assets. The second stage is additional configuration in the general settings of the Media Manager. In some cases, it might be necessary to perform other configuration prior to setting up the workflow, for example creating additional metadata fields.

The following elements are required for a functional approval process:

  • A workflow with the minimum of three stages: a pending stage, an approved stage and a rejected stage.

  • Enabling the download request in the settings of the Media Manager.

All other elements are optional, though some might be heavily recommended, as it will indicated in the detailed descriptions of the stages below.

Part 1 Workflow

The basic download approval workflow consist of three stages: a pending stage, an approved stage and a rejected stage.

...

It is also, for example, possible to create a loop from the rejected stage back to the pending stage, if reconsideration should be possible (not included in this example of workflow configuration). For instance, if the reason for rejection is insufficient information provided by the requesting user, this can be fixed by communicating through the comments section of the task. If the conditions for approval are then met, the user responsible for the task can approve the previously rejected request.

Configuration:

Step

Configuration

Explanation

“Request download” transition

Name: selected by the user

Transition type: Manual

Unique ID: selected by the user

Description: selected by the user (optional)

Constraints: execution condition, string input constraints, date input constraint

The transition is manual, because it is initiated by a deliberate action from a user - in this case, a request for asset download.

“Any user can transition” constraints is selected to enable any user with the ability to download assets to make the request without having to have additional roles in the system.

The input constraints is what builds the request form. In this case, the requesting user will be asked to state their name, their origin, reason for downloading and the deadline for the request.

“Pending approval” stage

Name: selected by the user

Unique ID: selected by the user

Description: selected by the user (optional)

Mark as completed: no

Relevant Meta Fields: -

Stage owner: Assign to instance owner

Labels: selected from the list of created as custom

The name of the stage is also the name of the task.

The optional description will provide the assigned user with the explanation of what is expected in this stage.

In this case, the stage owner is the content owner (the person responsible for the management of a particular asset). The configuration requires selecting the correct MIR metadata field, where the content owner is stated. For more information, please refer to the information box about dynamic assignment, located under the table.

The label will be displayed on the task.

“Approve” transition

Name: selected by the user

Transition type: Manual

Unique ID: selected by the user

Description: selected by the user (optional)

Constraints: upload constraint

The manual transition means that the task can only be fulfilled by selecting one of the options from the list of available actions.

Constraint:

  • “Upload File Constraint” - the user assigned to the task needs to upload a file meeting certain criteria (here: a pdf document) before approving the the request.

“Approved” stage

Name: selected by the user

Unique ID: selected by the user

Description: selected by the user (optional)

Mark as completed: yes

Relevant Meta Fields: -

Stage owner: Unassigned

Labels: selected from the list of created as custom

The name of the stage is also the name of the task.

The optional description will provide the assigned user with the explanation of what is expected in this stage.

The label will be displayed on the task.

Marking the stage as complete means that the this particular workflow instance will be archived after this stage.

“Reject” transition

Name: selected by the user

Transition type: Manual

Unique ID: selected by the user

Description: selected by the user (optional)

Constraints: string input constraint

The manual transition means that the task can only be fulfilled by selecting one of the options from the list of available actions.

Constraint:

  • “String Input Constraints” - the person responsible for the task needs to explain the reason for rejecting the download request.

“Rejected” stage

Name: selected by the user

Unique ID: selected by the user

Description: selected by the user (optional)

Mark as completed: yes

Relevant Meta Fields: -

Stage owner: Unassigned

Labels: selected from the list of created as custom

The name of the stage is also the name of the task.

The optional description will provide the assigned user with the explanation of what is expected in this stage.

The label will be displayed on the task.

Marking the stage as complete means that the this particular workflow instance will be archived after this stage.

Info

Dynamic stage owner assignment

Dynamic stage assignment of owner is a functionality created for the systems where each asset has a content owner in mind. In order for this to be configured there needs to be a metadata field with the following properties:

  • Field type: MasterItemReference

  • Item type: Member of Member_Group

    Image Added

This is how the resulting field will look like in Media Manager:

Part 2 Settings

(notes: describe all the settings, include info about bypassing download approval, include require download approval, include the table about combining metadata fields and media formats)

After the workflow is correctly configured, it needs to be enabled before it takes into effect. In order to enable the workflow, the administrator needs to navigate to SettingsGeneral settingsDownload approval.

...

Here, the users needs to toggle the button for enabling approval of download requests, select the workflow from the drop-down list and specify the approved and denied stages.

All other options are optional and allow for greater flexibility of the download request functionality. Here, the administrator can choose:

  • whether certain formats should be whitelisted or specifically require approval

  • if a metadata field should control whether whole assets should be whitelisted or specifically require approval for download

  • if there is a content owner who should never be required to request the download

...

  • of the assets they are responsible for.

Bypassing download approval

...

1. Bypass based on a boolean metadata field

As mentioned earlier , on the download approval settings page, you have the option in the previous section of the page, there exists an option to select a boolean metadata field to determine, if an asset is opened up available to download for all who have the download role.Simply, go to the download approval settings page, and in the option 'Select metafield' choose your boolean (bit)

This can be configured under Select metafield section of the settings by selecting the option Bypass approval and then specifying the metadata field.

2. Bypass based on media formats

With this you can select certain formats that can always be downloaded, of course, only as long as the users have the proper download qualities and roles.

Again, access the approval settings page, and in the option ‘Media formats' select the media format(s) you’d like not to receive download requests forIt is also possible to specify which media can always be downloaded by all users with the ability to download assets.

This can be configured under Media formats section of the settings by selecting the option Bypass approval for selected formats and then specifying one or more formats below.

3. Bypass based on a role

Add If the user or user group has the role 'Download_Approval_Bypass' to a user or a group. This , this will grant the affected user(s) the those users the ability to bypass all download approval restrictions.

4. Bypass based on groups or users (Content Owner)

This allows users or user groups to bypass the download approval process for certain assets.The difference between this and “Bypass based on a role“, is that with the role, all assets would be downloadableonly the assets they are responsible for.

Please be aware that , the person who is entrusted with the ability to bypass the download, will also need to have read access to the MasterItemReference field which is used to determine who can bypass the download. It is the same field as described in the information box “Dynamic stage owner assignment”. However, this field may be hidden.

Require download approval

Like we have Just like there is the ability to bypass download approval, we also offer the inverse reversal of this - which is the require requiring download approval only under certain circumstances.

For this, we have two optionsThere exist two possibilities:

1. Require based on a boolean metadata field

Setting require for metadata fields, will allow you to choose There exists an option to select a boolean metadata field to listen for. If it set, determine, if all users need to request download for the affected assetof a particular asset.

This can be configured under Select metafield section of the settings by selecting the option Require approval and then specifying the metadata field.

2. Require based on media formats

Setting require for media formats, will have all assets' formats, but the selected format, downloadable without having to requestIt is also possible to specify which media formats need to be requested before download by all users, despite their ability to download assets.

This can be configured under Media formats section of the settings by selecting the option Require approval for selected formats and then specifying one or more formats below.

Combining the metafield and media formats

...

Info

Please be aware that this does not into consideration that there is the bypass role “Download_Approval_Bypass “ which, as previously stated, will disregard any download restrictions you have in place.

Info

Above it just says “Selected formats“. This is just to indicate that one or more media formats can be set here. I.e. the Selected formats is just a placeholder.

The place where it says “Bit field“, it is recommended that you have the name of the bit field to match up with the setting you’ve set in the metafield. E.g. if you have metafield = Require approval, then the bit field should also be named “Require approval“

Setting up users to be able to initiate download requests

In order to enable users who could previously download to still be able to download after you enable download requests, said users need some additional roles to start requesting.

The users already have “Asset_Can_Download” and the necessary download qualities configured, which is good as this is still needed.

They’ll need the following two roles added to them additionally “Business_Workflow_Instance_Transition“ and “Business_Workflow_Instance_View“.

Now, they’ll see the following “Request download“ the first time they download an asset

...

Once the asset has been approved, the user will be able to download the requested assets in all the formats that the user has access to.

Dynamic stage owner assignment

When the user sets up a workflow, the editing of a stage allows to assign tasks either automatically or dynamically. The following options are possible:

  1. The task is assigned to a particular user (select “Assign to a user” option from Automatically Assign Stage, and then pick the user from a new drop-down list below).

  2. The task is assigned to a particular user group (select “Assign to a user group” option from Automatically Assign Stage, and then pick the user group from a new drop-down list below).

  3. The task is assigned to the workflow owner/instance owner (select “Assign to the instance owner” option from Automatically Assign Stage.

  4. The task is assigned to an instance owner/content owner (select any option from Automatically Assign Stage as a fallback option, and then find the correct MasterItemReference metadata field from the menu under Dynamically Assign Stage field).

Info

Dynamic stage assignment of owner is a functionality created for the systems where each asset has a content owner in mind. In order for this to be configured there needs to be a metadata field with the following properties:

  • Field type: MasterItemReference

  • Item type: Member of Member_Group

    Image Removed

This is how the resulting field will look like in Media Manager:

  • Image Removed

...

configured download restrictions.