We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No description provided.
The text was updated successfully, but these errors were encountered:
Zanzibar 整体来说只有这个 API 模型有意思,Zanzibar 对外提供了一种中心式的鉴权服务,保证了两点;
Sorry, something went wrong.
Zanzibar 通过一种简明的方式表示关系,如下图,User A 拥有 video X 的阅读权限:
但是有时候,用户的权限可能会更复杂,比如某个用户属于某个组,因此 userset 是可以嵌套的,如下图:
可以预想得到的是,通过这种简单的模型它来描述所有权限,因此有些地方的三元组可能就会涉及多个嵌套
权限的更新涉及一个问题,new enemy protection,举个例子,Bob 一开始有阅读 Alice 文档的权限:
然后 Alice 撤回了 Bob 的阅读权限:
Zanzibar 必须在这方面保证外部一致性和因果性,否则就会可能导致 Bob 在被撤销权限后仍能看到 Alice 文档。
为此,他们基于 spanner 利用时间去构造了 ACL(Access control list) Check 保证 ACL 更新顺序:
剩下这套关于时间的保证,就是靠 spanner 了
No branches or pull requests
No description provided.
The text was updated successfully, but these errors were encountered: