Option to enable mir_licences explicitly for mir_genres
Description
Certain mir_licences should only be possible for specific mir_genres.
For this reason, mir_licences can be explicitly specified via the x-genres label in class-editor for mir_genres:
If the label does not exist, the licence will be displayed for each mir_genre
If the label exists, the corresponding mir_genre must be mentioned in the text to turn it on. Otherwise it will be filtered
Environment
None
Activity
Kathleen Neumann
July 6, 2021 at 1:21 PM
(edited)
Let us use x-genres and x-genres-mode=[allow|deny] (allow is default)
If nothing is given licence will be displayed for each mir_genre
Lennard Golsch
June 18, 2021 at 8:08 AM
(edited)
Currently whitelisting is used. To hide licenses explicitly for genres, blacklisting can be used. I have two ideas for the implementation:
on label level, there is x-genres-blacklist and x-genres-whitelist label
on value semantic level, there is only one label x-genres, if the first character of the value starts with a ! , it is a blacklist, otherwise it is a whitelist. Examples:
whitelist: (x-genres, research_data, ...)
blacklist: (x-genres, !research_data, ...)
Kathleen Neumann
June 18, 2021 at 7:08 AM
Es muss auch möglich sein einzelne Lizenzen auszuklammern.
Certain mir_licences should only be possible for specific mir_genres.
For this reason, mir_licences can be explicitly specified via the x-genres label in class-editor for mir_genres:
If the label does not exist, the licence will be displayed for each mir_genre
If the label exists, the corresponding mir_genre must be mentioned in the text to turn it on. Otherwise it will be filtered