It is possible to setup a metadata field for blocking downloads and sharing of an asset. This can be useful to quickly drive functionality from metadata. Please consider the following:
- Only Yes/No (Boolean) fields can be used as blocking fields.
- Only one blocking field should be used per metadata view.
Roles
These are the roles that are needed:
- Power User
- Can Delete Metadata Fields
- Can Write Metadata Fields
- Can Read Metadata Fields
Setting up a Blocking Field
To set a blocking field:
- Start creating a Metadata Field as covered under Adding Metadata Fields.
- In the attributes, select Block assets
- Add this Blocking Field to a Metadata View. The Metadata View you add it to should be one that will be used on the assets that you wish to block assets for.
At this point, it is optional, but you may wish to add ACLs to the View so that only certain users can write to the view that contains the blocking field. If this is the case, it might be easier to create a separate view—one view for general users and another for users who can edit this field.
Using the Blocking Field
Once you have a Blocking Field, you can then use it to set a download and sharing block on an asset.
- Go to an asset where you wish to block downloads or share.
- Open the Metadata tab
- Select the view that allows you to edit the block
- Set the field to Yes
Clearing the Blocking Field.
- Go to an asset that you wish to remove the block from
- Open the Metadata tab
- Select the view that allows you to edit the block field.
- Set the field to No