ACL Management for buckets and objects

17 views
Skip to first unread message

Joacchim

unread,
Feb 16, 2011, 9:35:37 AM2/16/11
to SCOP
Hello,

As I work on the cloud migration tool droplet, I thought about copying
the acl with the object.
I went through the library's code in order to find whether I could
retrieve a bucket or a file's acl, and set it in a detailed fashion.
I then understood that retrieving it would be possible (with a wrapper
around dpl_get), but with the current api, I can't seem to set a
detailed acl for an object.

Here comes my question :
Is the goal of the library to provide a generic abstraction of the S3-
like APIs, in which case I should not try to set detailed acls ? Or is
it to provide an as detailed as possible abstraction of those APIs ?

Because if it is a generic abstraction, I thought about writing the
wrapper function I wrote about (and possibly discussing the patch with
the library's development team), but I would not know exactly how to
match the different values of the dpl_canned_acl_t enum with the
possible situations.

So, in the end it comes down to it : should I try to be generic, or
detailed ?

In advance, thanks for the answer
Reply all
Reply to author
Forward
0 new messages