Is there an option to change the sharing settings trough drive SDK?
If I add permissions at user level with a email Id. I can see the visibility perms of doc as Private. If I set permission to { 'value': None, 'type': "anyone", 'role': "writer"}. I can see the visibility perms of doc as "Public on the web".
Can any help, what settings can set sharing settings to Anyone with link.
The issue with public on web is we could see anonymous users are able to find the doc and we could see unknown presence on the doc..
Try
'value' => 'me', 'type' => 'anyone', 'role' => 'reader', 'withLink' => true
This will change sharing settings to Anyone with link.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With