-
-
Notifications
You must be signed in to change notification settings - Fork 10.2k
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
开放平台能否支持管理所有应用,目前是 TOKEN 一个个授权 #3191
Comments
目前的设计是权限细粒度控制,所以同一个token如果需要管理多个app的话,需要多次授权。 |
同样的困扰,目前授权app可以直接操作数据库insert into consumerrole (ConsumerId,RoleId,DataChange_CreatedBy,DataChange_CreatedTime,DataChange_LastModifiedBy,DataChange_LastTime) select ConsumerId, $i, DataChange_CreatedBy ,now(),DataChange_LastModifiedBy,now() from consumerrole where id = 3 |
创建app接口需要考虑一下如何授权,因为目前的权限都是在app或namespace上 |
#临时通过插入数据库脚本实现了,不知道会不会有坑,验证都ok。(新增把APPNAME替换成应用名就行) INSERT INTO INSERT INTO INSERT INTO use ApolloPortalDB; INSERT INTO INSERT INTO INSERT INTO INSERT INTO insert into insert into insert into insert into UserRole(UserId,RoleId) select "apollo" , r.id from Role r where r.RoleName like '%APPNAME%'; |
来个终极脚本版本,自取 |
很多ops应用都有此类需求 甚至包含创建app |
这个issue有支持计划吗? 还是挺有用的 |
https://github.com/No-SilverBullet/apollo-token-batcher 可以参考这个项目,能对openapi token批量授予应用的权限 |
同样需要,devops 平台对接需要一个全局的 token 用于修改应用配置,现在要一个个应用加完全不可操作,官方是否有计划优化? |
Is your feature request related to a problem? Please describe.
在 CI/CD 过程中,构建完成后,系统会通知 APOLLO 更新某个配置项,目前是通过开放平台 HTTP REST API 去更新,但是开放平台的授权,得有一个应用加一次,TOKEN 不能对所有应用(包括未来新增的应用全部授权么),或者不能直接绑定在一个高权限的账号下么?
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: