From 22325c2e892fbff05d642c095d645045f2a5e0b2 Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Mon, 24 Sep 2007 18:33:19 +0000 Subject: Add support for attribute setting and retrieval to the front end and document them in the user documentation. --- client/wallet.pod | 29 +++++++++++++++++++++++++---- 1 file changed, 25 insertions(+), 4 deletions(-) (limited to 'client') diff --git a/client/wallet.pod b/client/wallet.pod index 263e623..3f7c60b 100644 --- a/client/wallet.pod +++ b/client/wallet.pod @@ -102,10 +102,12 @@ options and commands are ignored. As mentioned above, most commands are only available to wallet administrators. The exceptions are C, C, C, C, -C, and C. All of those commands have their own -ACLs, and if the appropriate ACL is set, it alone is checked to see if the -user has access. Otherwise, C, C, and C access is -permitted if the user is authorized by the owner ACL of the object. +C, C, C, and C. All of those +commands have their own ACLs except C, which uses the C +ACL, and C, which uses the C ACL. If the appropriate ACL +is set, it alone is checked to see if the user has access. Otherwise, +C, C, C, C, and C access is permitted +if the user is authorized by the owner ACL of the object. Administrators can run any command on any object or ACL except for C and C. For C and C, they must still be authorized by @@ -205,6 +207,15 @@ if the C, C, or C ACLs aren't set, authorization falls back to checking the owner ACL. See the C command for displaying or setting it. +=item getattr + +Prints the object attribute for the object identified by and +. Attributes are used to store backend-specific information for a +particular object type, and must be an attribute type known to the +underlying object implementation. The attribute values, if any, are +printed one per line. If the attribute is not set on this object, nothing +is printed. + =item owner [] If is not given, displays the current owner ACL of the object @@ -221,6 +232,16 @@ Sets the ACL , which must be one of C, C, C, C, or C, to on the object identified by and . If is the empty string, clears that ACL on the object. +=item setattr [ ...] + +Sets the object attribute for the object identified by and +. Attributes are used to store backend-specific information for a +particular object type, and must be an attribute type known to the +underlying object implementation. To clear the attribute for this object, +pass in a of the empty string (C<''>). + +Currently, no object attributes are implemented. + =item show Displays the current object metadata for the object identified by -- cgit v1.2.3