Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15507334
D19917.id47545.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
2 KB
Referenced Files
None
Subscribers
None
D19917.id47545.diff
View Options
diff --git a/src/applications/almanac/xaction/AlmanacBindingInterfaceTransaction.php b/src/applications/almanac/xaction/AlmanacBindingInterfaceTransaction.php
--- a/src/applications/almanac/xaction/AlmanacBindingInterfaceTransaction.php
+++ b/src/applications/almanac/xaction/AlmanacBindingInterfaceTransaction.php
@@ -55,11 +55,22 @@
}
public function getTitle() {
- return pht(
- '%s changed the interface for this binding from %s to %s.',
- $this->renderAuthor(),
- $this->renderOldHandle(),
- $this->renderNewHandle());
+ if ($this->getOldValue() === null) {
+ return pht(
+ '%s set the interface for this binding to %s.',
+ $this->renderAuthor(),
+ $this->renderNewHandle());
+ } else if ($this->getNewValue() == null) {
+ return pht(
+ '%s removed the interface for this binding.',
+ $this->renderAuthor());
+ } else {
+ return pht(
+ '%s changed the interface for this binding from %s to %s.',
+ $this->renderAuthor(),
+ $this->renderOldHandle(),
+ $this->renderNewHandle());
+ }
}
public function validateTransactions($object, array $xactions) {
diff --git a/src/docs/user/cluster/cluster_repositories.diviner b/src/docs/user/cluster/cluster_repositories.diviner
--- a/src/docs/user/cluster/cluster_repositories.diviner
+++ b/src/docs/user/cluster/cluster_repositories.diviner
@@ -98,7 +98,7 @@
to respond to the user.
-Setting up a Cluster Services
+Setting up Cluster Services
=============================
To set up clustering, first register the devices that you want to use as part
@@ -107,6 +107,17 @@
NOTE: Once you create a service, new repositories will immediately allocate
on it. You may want to disable repository creation during initial setup.
+NOTE: To create clustered services, your account must have the "Can Manage
+Cluster Services" capability. By default, no accounts have this capability,
+and you must enable it by changing the configuration of the Almanac
+application. Navigate to the Alamanc application configuration as follows:
+{nav icon=home, name=Home >
+Applications >
+Almanac >
+Configure >
+Edit Policies >
+Can Manage Cluster Services }
+
Once the hosts are registered as devices, you can create a new service in
Almanac:
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Apr 16, 6:46 PM (1 w, 4 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7633024
Default Alt Text
D19917.id47545.diff (2 KB)
Attached To
Mode
D19917: Cleanup some clustering rough edges
Attached
Detach File
Event Timeline
Log In to Comment