-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
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
用户拥有所有权限但仍然无法访问 api/v1/instance/ 接口 #2671
Comments
我记得API需要用户在白名单里,可以看一下那边的逻辑,可以搜一下报错信息应该可以找到 |
添加到 API_USER_WHITELIST 之后确实可以了,不过没添加之前,workflow 接口似乎可以正常通过 api 访问,感觉有些奇怪 |
API_USER_WHITELIST是在哪里设置,代码里还是数据库表里呢?我在代码没搜到这个 |
在 系统管理 - 配置项管理 - API_USER_WHITELIST |
谢谢 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
重现步骤
赋予用户所有权限,或直接使用超级用户,通过 OpenAPI 访问 api/v1/instance/ 接口
预期外的结果
提示
其他接口可以正常访问
日志文本
No response
版本
1.9.1
部署方式
K8S
是否还有其他可以辅助定位问题的信息?比如数据库版本等
No response
The text was updated successfully, but these errors were encountered: