Question

I can create a google calendar in my Java app.

I can assign it to a particular user in my Google domain:

AclRule rule = new AclRule();
Scope scope = new Scope();

scope.setType("user");
scope.setValue("user1@mydomain.com");

rule.setScope(scope);
rule.setRole("reader");

and the created calendar appears in user1's calendars.

Yet when I try to assign some other calendar to a group (which said user1 belongs to):

AclRule rule = new AclRule();
Scope scope = new Scope();

scope.setType("group");
scope.setValue("group1@mydomain.com");

rule.setScope(scope);
rule.setRole("reader");

user1 couldn't see the created calendar in his calendar list.

But the calendar is created successfully.

Is this correct functionality? Or should I just add Acl rule per group user? Or I am doing something wrong and there is other way to assign some calendar to all the users in a group?

Was it helpful?

Solution 2

When assigning Calendar access to a group, every group user gets an invitation to said Calendar.

OTHER TIPS

for future people running into problems: I had this issue and it's because the creator of the calendar wasn't in the group. Make sure the "sharer" is in the google group you are sharing your calendar with

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top