models.common_acl_proto module¶
-
class
models.common_acl_proto.
CommonACLProto
(read_grantees=None, write_r_listings=None)[source]¶ Bases:
object
Implementation of the ‘CommonACLProto’ model.
Protobuf that describes the Common access control list (ACL) permissions for a swift container. TODO (avinash_aita): Verify the ‘.rlistings’ write ACL behavior. If necessary, remove persisting ‘write_rlistings’ field and fail such requests.
- Attributes:
- read_grantees (CommonACLProto_Grantees): Read permissions granted to
grantees.
write_r_listings (bool): Write permissions granted to grantees.
-
classmethod
from_dictionary
(dictionary)[source]¶ Creates an instance of this model from a dictionary
- Args:
dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.
- Returns:
object: An instance of this structure class.