aboutsummaryrefslogtreecommitdiff
path: root/client/wallet.pod
diff options
context:
space:
mode:
authorRuss Allbery <rra@stanford.edu>2008-02-07 23:33:23 +0000
committerRuss Allbery <rra@stanford.edu>2008-02-07 23:33:23 +0000
commitf0bde61f5ecfc6a58a2c0ec0ccadbdd1332b64f8 (patch)
treed13773de8ccd3461a1fc3cedcfb06d7f61d18aff /client/wallet.pod
parent71bba523b426da1a9cf39ce066b2a3ebb376860b (diff)
Add new exists and autocreate wallet server interfaces. The first
states whether a given object exists and the second attempts to create the object using the default owner rules. Remove default owner handling from the create interface, which is now for administrators only. Remove server-side auto-creation of objects on get or store and instead have the client check for object existence and call autocreate if necessary. This removes confusion between default ACLs and administrative object creation for users who are also on the ADMIN ACL.
Diffstat (limited to 'client/wallet.pod')
-rw-r--r--client/wallet.pod8
1 files changed, 8 insertions, 0 deletions
diff --git a/client/wallet.pod b/client/wallet.pod
index 10c44ba..3f2ca51 100644
--- a/client/wallet.pod
+++ b/client/wallet.pod
@@ -261,6 +261,10 @@ by <type> and <name>, or stores it in a file if the B<-f> option was
given. This may trigger generation of new data and invalidate old data
for that object depending on the object type.
+If an object with type <type> and name <name> does not already exist when
+this command is issued (as checked with the exists interface), B<wallet>
+will attempt to automatically create it (using autocreate).
+
=item getacl <type> <name> <acl>
Prints the ACL <acl>, which must be one of C<get>, C<store>, C<show>,
@@ -329,6 +333,10 @@ therefore not be binary data, and is limited by the maximum command line
length of the operating system of the wallet server. These restrictions
will be lifted in the future.
+If an object with type <type> and name <name> does not already exist when
+this command is issued (as checked with the exists interface), B<wallet>
+will attempt to automatically create it (using autocreate).
+
=back
=head1 ATTRIBUTES