Homec4science

Allow Almanac services to be locked

Authored by epriestley <git@epriestley.com> on Dec 18 2014, 23:31.

Description

Allow Almanac services to be locked

Summary:
Fixes T6741. This allows Almanac services to be locked from the CLI. Locked services (and their bindings, interfaces and devices) can not be edited. This serves two similar use cases:

  • For normal installs, you can protect cluster configuration from an attacker who compromises an account (or generally harden services which are intended to be difficult to edit).
  • For Phacility, we can lock externally-managed instance cluster configuration without having to pull any spooky tricks.

Test Plan:

  • Locked and unlocked services.
  • Verified locking a service locks connected properties, bindings, binding properties, interfaces, devices, and device properties.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T6741

Differential Revision: https://secure.phabricator.com/D11006

Details

Committed
epriestley <git@epriestley.com>Dec 18 2014, 23:31
Pushed
aubortJan 31 2017, 17:16
Parents
rPHcd6f67ef95a3: When repository services are available, use them when creating a new repository
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHd2df3064bcc3: Allow Almanac services to be locked (authored by epriestley <git@epriestley.com>).Dec 18 2014, 23:31