Extend options to store and assign license information
Parent: [EPIC] Validate and enforce license requirement... (aura#194 - closed)
What parts of Steering are extended, will show the outcome of the discussion in the parent epic.
Designs
- Show closed items
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- David Trattnig changed milestone to %1.0-alpha3 — Playful Platypus
changed milestone to %1.0-alpha3 — Playful Platypus
- David Trattnig added P1 label
added P1 label
- David Trattnig assigned to @eigenwijsje
assigned to @eigenwijsje
- David Trattnig changed the description
changed the description
- David Trattnig marked this issue as related to aura#194 (closed)
marked this issue as related to aura#194 (closed)
- David Trattnig mentioned in issue aura#194 (closed)
mentioned in issue aura#194 (closed)
- Ernesto Rico Schmidt added To Do label
added To Do label
- Ernesto Rico Schmidt removed To Do label
removed To Do label
- David Trattnig added To Do label
added To Do label
- David Trattnig added 1 deleted label
added 1 deleted label
- Owner
I will add the
license
field (foreign key toLicenseType
) to theImage
model.We can discuss if leaving it unset should be allowed and/or the default value, and how to define the default license type for the station.
- Ernesto Rico Schmidt added Doing label and removed To Do label
- Ernesto Rico Schmidt mentioned in commit 84d35b5a
mentioned in commit 84d35b5a
- Owner
The changes are implemented in the
develop
branch:The
LicenseType
model has been replaced withLicense
that now has anidentifier
field.The new
/api/v1/licenses/
endpoint now listsid
,identifier
andname
.The
/api/v1/images/
endpoint now acceptslicenseId
, that can be empty. - Ernesto Rico Schmidt closed
closed
- Ernesto Rico Schmidt removed Doing label
removed Doing label
- Owner
I’m not sure how to proceed with this, because the
url
,needs_author
, andrequires_express_permission_for_publication
fields (or something alike) are missing. The first of which is required to comply with CC-licenses and the latter two required for enforcing validation rules in the dashboard.Are these still planned? Right now I can only implement the license selection which may still result in invalid attribution.
- Owner
Sorry, I forgot to add them.
Now, the
License
model has all three fields you described, theLicenseSerializer
and thelicense.json
fixture also includes the fields.