【问题标题】:Allow outside G Suite domains to book rooms available in my domain允许外部 G Suite 域预订我域中的可用房间
【发布时间】:2020-08-23 06:17:51
【问题描述】:

我正在尝试在 google 中设置一些东西,允许外部用户预订我的 G Suite 域中可用的房间或资源,从而使这些资源共享..

我成功地更新了资源日历 acl 并添加了新域。但其他域的用户在尝试在日历中创建活动时无法看到任何资源。

请提出可能的问题

【问题讨论】:

  • 您具体做了哪些更新以及用户应该能够访问哪些资源?您能否分享一个您正在处理的代码示例?
  • 我们有会议室和会议室,我允许来自其他域的用户访问以添加事件。但是当来自其他域的用户登录到他们的日历时,他们无法添加事件

标签: google-api google-calendar-api google-workspace


【解决方案1】:
  1. 启用“资源预订权限”

应用程序 > Google Workspace > 日历设置 > 常规设置

  1. 通过Google's OAuth 2.0 Playgroundhttps://www.googleapis.com/auth/calendar 范围获取访问令牌

  2. 通过Google Calendar API为具有所需权限的外部用户/域添加ACL freeBusyReader / reader

发布 https://www.googleapis.com/calendar/v3/calendars/{calendar_email@domain.com}/acl 授权:承载{access_token}

{
 "scope": {
 "type": "domain",
 "value": "externaldomain.com"
 },
 "role": "reader"
}

{
 "scope": {
 "type": "user",
 "value": "user1@externaldomain.com"
 },
 "role": "reader"
}

4。现在您应该可以在 externaldomain.com 的日历中将 calendar_email@domain.com 添加为访客并浏览日历事件

【讨论】:

    【解决方案2】:

    已经能够通过将资源日历添加到其他域的用户来解决这个问题,他们可以在其中查看空闲/忙碌状态

    其他域的用户在预订房间时将资源/房间ID包含在客人列表中,这将解决问题!

    【讨论】:

      猜你喜欢
      • 2017-04-19
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-05-17
      • 2019-10-07
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多