krang_read_only - interface to mark Krang objects as read-only
krang_read_only --media --media_id 32
This script provides a command-line interface to setting
(or unsetting) the read_only flag on Krang objects.
Currently, this flag is only available for Media and Template objects.
The type of object(s) to mark. Either media or template.
The ID of the object being marked. Can be specified multiple times.
The category of the object's being marked. Can be specified multiple times.
If you want to check for top-level objects (with no category) you can
use the special null value for this.
By default this script marks the objects as read_only. This option however
does the opposite and undoes any read_only flag.
Print out a verbose log of what is being done.