Closed ochiengolanga closed 1 year ago
The current programme rights is mis spelt Program Promotional, And with just one right it makes it hard to distinguish by who and where when these images can be used
The current programme rights is mis spelt Program Promotional and makes it hard to distinguish who and where then these images can be used
Hi Honor,
I think the idea is that this change will deprecate the need for the current programme promotional rights, so the mispelling and confusion over its purpose might not be an issue?
Although in that case the current programme promotional rights could be removed from the UI - is that something we would want to do?
@rebecca-thompson thanks for the review, added to the example as per your comment
Seen on auth, usage, image-loader, metadata-editor, thrall, leases, cropper, collections, media-api, kahuna (created by @ochiengolanga and merged by @paperboyo 12 minutes and 2 seconds ago) Please check your changes!
What does this change?
This PR (co-authored by @Conalb97) introduces 3 new programme usage rights meant to replace the "Programme Promotional" usage right that was introduced by this PR #3774.
These new programme rights are:
Programmes - Organisation Owned
- for all images that are related to a programme and have the organisation as the credit.Programmes - Independents
- for all images that are related to a programme and are either made by an independent production company, the organisation or a joint production.Programmes - Acquisitions
- for all images of programmes that are bought (acquired) by the organisation for a period of time.Adding the new usage rights to the
usageRights.applicable
configuration should allow a user to select either in usage rights edit form and allow image(s) to be searched using the+category: programme-organisation-owned
or+category: programme-independents
or+category: programme-acquisitions
chip.Applying new programme usage rights to an image
Searching using new programme usage rights / categories
The objective of this PR and a follow-up PR, is to replace / deprecate the "Programme Promotional" usage rights. Before the "Programme Promotional" usages rights is deprecated, images with the "Programme Promotional" usage rights should be reassigned the new programme usage rights where applicable.
To deploy these new image rights, an update to the Elasticsearch mapping and a migration (if there are existing documents in Elasticsearch) has to be done to index the "Independent Type" and "Production Company" fields in the "ProgrammeIndependents" usage rights model.
How should a reviewer test this change?
Add the new usage rights to the
usageRights.applicable
list and this should add the new usage rights to the "Usage rights" select box and add them to thecategory:
search chip.Add these new configurations
programmesOrganisationOwned
,programmesIndependents
andprogrammesAcquisitions
in theapplication.conf
file to configure custom descriptions of the usage rights and options to select from that should appear on the "usage rights edit form".How can success be measured?
Programme Organisation Owned
,Programme Independents
andProgramme Acquisitions
should be selectable on the usage rights edit form.programme-organisation-owned
,programme-independents
andprogramme-acquisitions
should appear as options for thecategory
chip.Who should look at this?
@guardian/digital-cms
Tested? Documented?