Adobe COLDFUSION 9 Manual page 267

Developing applications
Hide thumbs Also See for COLDFUSION 9:
Table of Contents

Advertisement

DEVELOPING COLDFUSION 9 APPLICATIONS
Developing CFML Applications
ACLObject
is an array of struct where each struct represents an ACL grant. The grantee details are as follows:
ACLObject
Must have the keys
group
Must have the keys
email
Must have the keys
canonical
Sample ACLObject
all_read = {group="all", permission="read"};
owner_full = {email="xxx@yyy.com", permission="full_control"};
aclObj = [owner_full, all_read];
Access control functions
storeSetACL
Description
Sets the ACL for object or bucket.
Returns
Nothing
Syntax
StoreSetACL(url, ACLObject)
Parameters
Parameter
Description
url
Amazon S3 URLs (content or object)
An array of struct where each struct represents a permission or grant as discussed in "ACLObject" on page 262.
ACLObject
History
ColdFusion 9 Update 1: Added this function
Usage
Use this function to set full permission. The function overwrites all existing permissions. Only the ones you set in the
current context exist.
(with value
,
Group
all
authenticated
and
.
email
permission
and
.
Id
permission
displayName
Last updated 8/5/2010
, or
) and
log_delivery
permission
is optional.
262
.

Advertisement

Table of Contents
loading

Table of Contents