dialogflow-es - DialogFlow 代理中自定义环境的权限控制
问题描述
我们在 DialogFlow 中有一个代理,并为此代理维护三个环境(dev、int 和 prod)。我们很少有开发人员可以通过开发人员权限访问此代理。他们可以在代理中进行更改并将其发布到这些环境。但是,我们希望限制他们不要将更改发布到产品。
无论如何我们可以控制它吗?
解决方案
The short answer here is unfortunately not.
Dialogflow Environments are actually better thought as of "previous saved versions of the agent" rather than "environments" in the traditional sense (I absolutely detest Google's choice of name for this reason). There is no out-the-box way to restrict a specific user the ability to push to a specific environment (you can't achieve this with Service Accounts either, as the permissions aren't granular enough).
For this reason, if you wish to have "true" environment-specific permissions, then you should set up one agent per environment (ie dev
, int
, and prod
). You can then restrict who can modify the prod
agent using the standard GCP IAM systems.
推荐阅读
- android - 如何将当前数据从设置活动传递到火力基地
- javascript - firebase.auth().signInWithPopup() 不适用于 Linux/Mac 上的 Chrome 扩展
- python - Python paramiko chdir 不起作用。getcwd() 返回无
- android - Android AppAuth 将密码发送到 Chrome 选项卡
- sql - Hue 无法加载 Presto Schema dbc 不存在
- python - 与第二页不同的页面模板
- raspberry-pi3 - Raspberry pi 3 B 通过 RTSP (Wifi) 与无线 IP 摄像头连接
- php - 从 db (Codeigniter) 加载页面信息的重定向
- docker - 尝试连接到 Redis 会返回 ECONNREFUSED
- codeigniter - 如何在codeigniter的一个查询中使用insert方法和select方法?