简体   繁体   English

提供对来自 github 的 reviewable.io 评论的无缝访问

[英]Provide seamless access to reviewable.io reviews from github

We have a github repo with a reviewable.io webhook configured.我们有一个配置了 reviewable.io webhook 的 github 存储库。 What we are hoping for is that when any new developers are added as a contributor to the repo, they are automatically provided with seamless access to code reviews for this repo in reviewable.io.我们希望的是,当任何新开发人员被添加为 repo 的贡献者时,他们会自动获得对 reviewable.io 中此 repo 的代码审查的无缝访问。

Currently when new users attempt to access a reviewable.io code review from a github PR by clicking the purple button:当前,当新用户尝试通过单击紫色按钮从 github PR 访问 reviewable.io 代码审查时: 在此处输入图片说明

they are presented with this screen:他们会看到这个屏幕:

在此处输入图片说明

And the after clicking "grant authorization", they are presented with this screen:点击“授予授权”后,他们会看到这个屏幕: 在此处输入图片说明

I heard back from the reviewable.io folks that there's no way around this authorization dialog as long as Reviewable remains an OAuth app.我从 reviewable.io 的人那里听到,只要 Reviewable 仍然是一个 OAuth 应用程序,就没有办法绕过这个授权对话框。 OAuth authorizations are granted for a whole account, across all organizations it's a member of, so the user must confirm that they're OK with that. OAuth 授权是针对整个帐户及其所属的所有组织授予的,因此用户必须确认他们对此表示同意。 It's a security constraint imposed by GitHub with no workarounds.这是 GitHub 强加的安全约束,没有解决方法。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM