工作表结果共享和仪表板中的辅助角色的弃用

Attention

This behavior change is in the 2024_08 bundle.

For the current status of the bundle, refer to Bundle History.

启用此行为变更捆绑包后,将弃用工作表结果共享,并过渡到仅代码共享。收件人只能查看工作表代码,而不能查看查询结果。此外,仪表板不能再以辅助角色运行。

Note

如果一个账户启用了捆绑包,然后稍后又禁用了此捆绑包,则该账户的用户将返回到 BCR 之前的行为,在那里缓存的结果将再次显示。这可能导致以下意外行为:

  1. 账户启用捆绑包。
  2. 用户 1 与用户 2 共享一个工作表,认为他们只是共享代码。
  3. 账户禁用捆绑包。
  4. 用户 2 现在可以看到共享工作表的结果,其中可能包括敏感数据。

为仪表板的变更做好准备

Snowflake recommends testing your dashboards without secondary roles to ensure queries function correctly. To test the dashboards, run USE SECONDARY ROLES 'NONE' for each tile, followed by executing the main query. Alternatively, you can request the administrator to temporarily set your user’s DEFAULT_SECONDARY_ROLES to 'NULL' during the testing process.

如果查询失败,您可能需要重建仪表板:

  • 仪表板所有者或编辑器可以将该仪表板拆分为多个仪表板,以不同角色运行,以收集所需数据。
  • An administrator can create a new role that is a superset of the necessary permissions and grant this to the dashboard users as their primary role.
  • For any broken dashboard tiles, the administrator can grant the primary role access to the necessary source objects to restore dashboard functionality.

有关详细信息,请参阅以下知识库文章:

参考:1801