aboutsummaryrefslogtreecommitdiff
path: root/server/wallet-backend
diff options
context:
space:
mode:
Diffstat (limited to 'server/wallet-backend')
-rwxr-xr-xserver/wallet-backend9
1 files changed, 9 insertions, 0 deletions
diff --git a/server/wallet-backend b/server/wallet-backend
index a2e6e6f..8dfc952 100755
--- a/server/wallet-backend
+++ b/server/wallet-backend
@@ -287,6 +287,9 @@ sub command {
failure ($server->error, @_);
}
}
+ } elsif ($command eq 'rename') {
+ check_args (3, 3, [], @args);
+ $server->rename (@args) or failure ($server->error, @_);
} elsif ($command eq 'setacl') {
check_args (4, 4, [], @args);
$server->acl (@args) or failure ($server->error, @_);
@@ -552,6 +555,12 @@ If <owner> is given, sets the owner of the object identified by <type> and
<name> to <owner>. If <owner> is the empty string, clears the owner of
the object.
+=item rename <type> <name> <new-name>
+
+Renames an existing object. This currently only supports file objects,
+where it renames the object itself, then the name and location of the
+object in the file store.
+
=item setacl <type> <name> <acl> <id>
Sets the ACL <acl>, which must be one of C<get>, C<store>, C<show>,