kitodo / kitodo-production

Kitodo.Production is a workflow management tool for mass digitization and is part of the Kitodo Digital Library Suite.
http://www.kitodo.org/software/kitodoproduction/
GNU General Public License v3.0
60 stars 65 forks source link

Division specific editing rules for metadata elements in ruleset #5050

Open BartChris opened 2 years ago

BartChris commented 2 years ago

I was not able to find a setting for giving division-specific editing rules (https://github.com/kitodo/kitodo-production/wiki/Regelsatz-3.x#bearbeitungseinstellungen) for metadata keys. For example, it might be necessary to make a specific metadata key editable in one division (e.g. periodical) but not in another division. If i am not mistaken this is not possible. Right now all settings for metadata editing appear to be applied globally. In consequence, if i set a key as not editable, it is impossible to change it, even if it is needed in a specific devision. It would be good, if the editing configuration could be further specified by the division in which the element appears. This probably adds a lot of complexity but the current configuration is maybe not flexible enough.

matthias-ronge commented 2 years ago

A simple way to achieve this would be to define two different internal metadata keys: an editable and a non-editable (with the same label, if you want to). For the periodicals, use the non-editable key, otherwise the editable key. When exporting, both internal keys with different names can be mapped to the same exported field.