nl_tokens: 获取 Bucket 的 权限列表
pl_tokens: function getBucketAcl ( params , callback ) { submitRequest . call ( this , { Action : 'name/cos:GetBucketACL' , method : 'GET' , Bucket : params . Bucket , Region : params . Region , headers : params . Headers , action : 'acl' , } , function ( err , data ) { if ( err ) { return callback ( err ) ; } var AccessControlPolicy = data . AccessControlPolicy || { } ; var Owner = AccessControlPolicy . Owner || { } ; var Grant = AccessControlPolicy . AccessControlList . Grant || [ ] ; Grant = util . isArray ( Grant ) ? Grant : [ Grant ] ; var result = decodeAcl ( AccessControlPolicy ) ; if ( data . headers && data . headers [ 'x-cos-acl' ] ) { result . ACL = data . headers [ 'x-cos-acl' ] ; } result = util . extend ( result , { Owner : Owner , Grants : Grant , statusCode : data . statusCode , <mask> : data . headers , } ) ; callback ( null , result ) ; } ) ; }