cloudinary-go icon indicating copy to clipboard operation
cloudinary-go copied to clipboard

Add Access Control to UploadParams

Open ncunningham-stairsupplies opened this issue 10 months ago • 1 comments

Describe the bug in a sentence or two.

uploader.UploadParams is missing the optional AccessControl field that is present in the api documentation Api Link

Issue Type (Can be multiple)

  • [ ] Build - Cannot install or import the SDK
  • [ ] Performance - Performance issues
  • [ ] Behaviour - Functions are not working as expected (such as generate URL)
  • [X] Documentation - Inconsistency between the docs and behaviour
  • [ ] Other (Specify)

Versions and Libraries (fill in the version numbers)

  • Cloudinary Go SDK Version - 2.7.0
  • GoLang Version - 1.21.7

Hi @ncunningham-stairsupplies, effectively the AccessControl is missing here. I'll raise to the team but in the meantime, you could use an upload preset and set the AccessControl via this preset.

Vdeub-cloudinary avatar Apr 19 '24 09:04 Vdeub-cloudinary