Hi All,
Scenario:
-We have websites published to 'anyone' / public
-I want to 'downgrade' a subset of these published links from 'anyone' to a domain/target audience
- I thought i might be able to delete the current 'anyone' permissions and add a new permission for the desired domain/target audience. Perhaps I would also need to modify the revision publishedOutstideDomain to FALSE for each file as well.
- However, when adding the domain/target audience permission, i can set role=reader but cannot set view=Published.
- From what I can tell, the end result is I end up achieving the desired result for the published link, but have also shared the underlying file contents to the domain/target audience, which I didn't want to do.
Has anyone tried to do this before?
Why i think it might be possible:
-The Google Drive api v3 permissions.create method accepts a "permission" resource which contains the 'view' field. Perhaps GAM could be updated to accept a 'view=published' value? I'm suspicious there may be more to this which I don't understand as the interaction between revision publishing and file permissions seems a little murky.
Regardless of whether i can get this to work, thanks again to Jay and Ross for the amazing work on GAM.