Write Permissions
It is possible to permit operations for writing to containers.
The settings for permitting projects and users are specified in the following format.
When specifying multiple settings, separate them with a comma.
However, it is not possible to permit the referrers included in requests of users.
Setting Content | Description Method |
---|---|
Permit a project | {projId}:* |
Permit a user | {projId}:{userId} |
When permitting a project
Example of Request
curl -i $publicURL/marktwain -X POST -H "X-Container-Write: 412b1ede9e4042d3b81fdb6728576199:*" -H "X-Auth-Token: $token"
When permitting multiple users
Example of Request
curl -i $publicURL/marktwain -X POST -H "X-Container-Write: 412b1ede9e4042d3b81fdb6728576199:ddf0902c56ef42fd9d6a3263b1bb686f, 412b1ede9e4042d3b81fdb6728576199:e407bd35a764407b88a33ab217ef51d8" -H "X-Auth-Token: $token"