Calendar visibility as private

187 views
Skip to first unread message

Brandon Robinson

unread,
Jan 13, 2021, 12:31:00 PM1/13/21
to GAM for Google Workspace
Hi, 

I am new to gam, is there a way to set someones calendar visibility as private to all except one person?  If so, what commands do I need to use?

Thanks

Ross Scroggs

unread,
Jan 13, 2021, 1:19:42 PM1/13/21
to google-ap...@googlegroups.com
Brandon,

# Show current ACLs                                                                                                                                                                                                                   

$ gam calendar tests...@domain.com showacl

Calendar: tests...@domain.com, ACL: (Scope: user:tests...@domain.com, Role: owner) (1/3)

Calendar: tests...@domain.com, ACL: (Scope: domain:domain.com, Role: freeBusyReader) (2/3)

Calendar: tests...@domain.com, ACL: (Scope: user:test...@domain.com, Role: reader) (3/3)


# Delete unwanted ACLs                                                                                                                                                                                                                

$ gam calendar tests...@domain.com delete freebusyreader domain domain.com

Calendar: tests...@domain.com, Delete ACL: (Scope: domain:domain.com)

$ gam calendar tests...@domain.com delete reader user test...@domain.com

Calendar: tests...@domain.com, Delete ACL: (Scope: user:test...@domain.com)

$ gam calendar tests...@domain.com showacl

Calendar: tests...@domain.com, ACL: (Scope: user:tests...@domain.com, Role: owner) (1/1)


# Add desired ACLS                                                                                                                                                                                                                    

$ gam calendar tests...@domain.com add reader test...@domain.com

Calendar: tests...@domain.com, Add ACL: (Scope: user:test...@domain.com, Role: reader)

$ gam calendar tests...@domain.com showacl

Calendar: tests...@domain.com, ACL: (Scope: user:tests...@domain.com, Role: owner) (1/2)

Calendar: tests...@domain.com, ACL: (Scope: user:test...@domain.com, Role: reader) (2/2)


Ross


--
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 on the web visit https://groups.google.com/d/msgid/google-apps-manager/e2736ae3-9ab4-4de0-bed3-03523817e829n%40googlegroups.com.


--

Brian Kim

unread,
Jan 13, 2021, 1:27:08 PM1/13/21
to GAM for Google Workspace
Step 1. Make the calendar private.(freebusy only)
gam calendar <username> update acls freebusy domain:primarydomain.com

Step 2. Add the ACL for a particular user (read only)
gam calendar <username> add acls reader <username2>

gam calendar <username> show acls will show the users/groups/domain with access roles. you can update the roles as needed.

Reply all
Reply to author
Forward
0 new messages