Google Drive · Arazzo Workflow
Google Drive Share a File and Audit Its Access
Version 1.0.0
Verify a file, audit who already has access, grant a new permission, and confirm the resulting access list.
View Spec
View on GitHub
Cloud StorageCollaborationDocument ManagementDriveFilesGoogleStorageArazzoWorkflows
Provider
Workflows
share-file-and-audit-access
Grant a grantee access to a Drive file and verify the resulting permissions.
Confirms the target file exists, snapshots its current permissions, creates the requested permission, and reads the permissions back so the change can be audited against the pre-change snapshot.
1
resolveFile
getFile
Read the file's metadata to confirm it exists and is reachable by the caller before any permission is written to it.
2
auditExistingAccess
listPermissions
Snapshot the file's permissions before the change so the new grant can be compared against who already had access.
3
grantAccess
createPermission
Create the requested permission on the file, granting the supplied role to the supplied grantee.
4
confirmAccess
listPermissions
Re-read the file's permissions so the caller can verify the new grant is present and see the complete access list after the change.