From f0bde61f5ecfc6a58a2c0ec0ccadbdd1332b64f8 Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Thu, 7 Feb 2008 23:33:23 +0000 Subject: 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. --- client/wallet.pod | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'client/wallet.pod') 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 and , 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 and name does not already exist when +this command is issued (as checked with the exists interface), B +will attempt to automatically create it (using autocreate). + =item getacl Prints the ACL , which must be one of C, C, C, @@ -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 and name does not already exist when +this command is issued (as checked with the exists interface), B +will attempt to automatically create it (using autocreate). + =back =head1 ATTRIBUTES -- cgit v1.2.3