When you get the error: 'access denied ("value 1", "value2" "read/write")' the error is always caused by the cloud security limitations that the Platform enforces.
If you aren't running in the cloud you can easily disable the cloud security emulation.
See this page on how to do that.
If you are running in the cloud you'll have to test this, maybe the cloud ops team has allowed the action recently. If this error happens in the cloud you can enter a ticket to request additional privileges.
But please try and avoid using the properties you have specified, there is no way to work around the cloud security restrictions. So adding those types of properties can only influence the stability of your application.