diff options
author | Russ Allbery <rra@stanford.edu> | 2008-02-07 06:37:11 +0000 |
---|---|---|
committer | Russ Allbery <rra@stanford.edu> | 2008-02-07 06:37:11 +0000 |
commit | 45823559a1e64d6c8151a984fcd9c79bbdb57171 (patch) | |
tree | ace7573730be9f9eb6aec7676c8a2d4ac2ccb998 /client | |
parent | 428c88bb0a08ba2eb06c7f5181f7cbee2f7ee398 (diff) |
Add a new autocreate API call that tries to create an object using the
default ACLs. Remove autocreation support from create, which now
requires that one be on the ADMIN ACL, and from get and store. The
wallet client will soon know how to do the right thing.
Diffstat (limited to 'client')
-rw-r--r-- | client/wallet.pod | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/client/wallet.pod b/client/wallet.pod index 8d117e2..10c44ba 100644 --- a/client/wallet.pod +++ b/client/wallet.pod @@ -200,6 +200,16 @@ caution when removing entries from the C<ADMIN> ACL. Display the name, numeric ID, and entries of the ACL <id>. +=item autocreate <type> <name> + +Create a new object of type <type> with name <name>. The user must be +listed in the default ACL for an object with that type and name, and the +object will be created with that default ACL set as the object owner. + +Normally, there's no need to run this command directly. It's +automatically run when trying to get or store an object that doesn't +already exist. + =item check <type> <name> Check whether an object of type <type> and name <name> already exists. If |