'Downgrading' published link sharing | Drive - permissions - create permission with view=Published

46 views
Skip to first unread message

john smith

unread,
Oct 30, 2025, 12:31:32 AM10/30/25
to GAM for Google Workspace
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.

Tammy Spicer

unread,
Apr 9, 2026, 12:27:36 PM (14 days ago) Apr 9
to GAM for Google Workspace
Came here looking for something very similar. Did you ever get an answer somewhere else?

Ross Scroggs

unread,
Apr 9, 2026, 12:45:11 PM (14 days ago) Apr 9
to google-ap...@googlegroups.com
Send me a private Meet/Zoom invitation and we'll investigate.

Ross
----
Ross Scroggs



LEGAL CONFIDENTIAL: This email is the property of Dickson County Schools and contains privileged information for the intended recipient only. Unauthorized use is prohibited. Please notify sender if received in error and delete.
DISCLAIMER: Any views and opinions presented in this email are solely those of the email author. Defamatory statements, copyright violations or other legal infringement is contrary to organization policy, and Dickson County Schools will not be liable for any such communications. The author will be personally liable for any such infractions.

--
You received this message because you are subscribed to the Google Groups "GAM for Google Workspace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/google-apps-manager/655c6abb-900d-4a04-bf16-448428f182aen%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages