Project

General

Profile

Actions

Bug #5176

closed

Configuration to disable writing/updating/deleting function on metacat, but allow reading/querying

Added by Jing Tao almost 14 years ago. Updated over 11 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
metacat
Target version:
Start date:
09/15/2010
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
5176

Description

This scenario happened couple times:

An administrator tried to use a new machine to replace the old one. Eventually the new one will use the DNS name of the old one and will have all documents/data from the old one.

The administrator always dumps the old db to a file and run this file on the new machine. For a big metacat server, the transformation may take a while. So administrator want users still can read/query documents/data from the old hardware, but they can't write/update documents/data to the old one. This can make sure that the old metacat and new metacat have the identical documents/data.

We may add a new property on the metacat.properies file, see disableWriting. Its default value is false. When the property is set to be true, users can read/query documents, but can't write/update/delete documents (include replication).

Actions

Also available in: Atom PDF