--- layout: default navsection: admin title: Configuring collection's default properties ... {% comment %} Copyright (C) The Arvados Authors. All rights reserved. SPDX-License-Identifier: CC-BY-SA-3.0 {% endcomment %} Collection's default properties allow a cluster administrator to enable some special behaviors regarding properties at creation & update times. This page describes how to enable and configure these behaviors on the API server. h3. API Server configuration The @collection_default_properties@ setting is used for enabling any of the following behaviors: h4. Pre-assigned property key & value For every newly created collection, assign a predefined key/value pair if it isn't already passed at creation time:
collection_default_properties:
  foo: {value: bar}
h4. Original owner UUID This behavior will assign to a property key the UUID of the user who owns the collection's contaning project.
collection_default_properties:
  responsible_person_uuid: {function: original_owner}
h4. Protected properties If there's a need to avoid a non-admin user to modify a specific property, even by its owner, the @protected@ attribute can be set to true, like so:
collection_default_properties:
  responsible_person_uuid: {function: original_owner, protected: true}
This property can be applied to any of the defined default properties. If missing, it's assumed as being @false@ by default.