By design, there is set of predicates and namespaces which are reserved for exclusive use by the repository software. Triples containing these values are considered to be Server Managed, the complete list of which is available here: Server Managed Triples. REST requests to the repository to change these values have been prohibited as invalid requests. While these restrictions are advantageous in most cases, there are a few exceptions.
In order to support moving content from one repository to another or to restore exported content, the prohibition on modification to the fedora managed triples associated with creation and modification details must be lifted. This includes: fedora:created, fedora:createdBy, fedora:lastModified and fedora:lastModifiedBy. Starting with fcrepo-4.7.4 there is a relaxed mode that allows these triples to be updated. In relaxed mode, when those triples are included in POST, PUT and PATCH requests, the supplied values are applied.
The default mode is "strict" mode in which these triples may not be modified as a result of supplied triples. Instead these properties are set by fedora to represent the times at which resources were created or modified and the users performing those actions.
You can enable relaxed mode by setting the "fcrepo.properties.management" in either a Properties file as
fcrepo.properties.management=relaxed |
or as a Java System Property
-Dfcrepo.properties.management=relaxed |