WSO2:应用程序和用户
WSO2 : application and users
我创建了一个 "admin" 应用程序。现在,我创建了一个 "demo" 用户,并为他提供了此应用的所有角色和所有权限。当我连接 "demo" 时,我什至看不到 "admin" 创建的应用程序。
这是一项功能吗?或者只是配置错误? (但我看不到还剩下什么配置)。
是的,这是默认行为。如果您想在用户之间共享 applications/subscriptions,则必须启用共享功能。请参阅 Sharing Applications and Subscriptions 文档。
共享的应用程序将像这样列出。
编辑使其成为经过验证的答案:
文档中的整个段落必须以不同的方式编写,因为它是错误的并且非常混乱。没有“default”分组策略,您必须更改 default 配置才能激活它:
By default, the API Manager considers the organization name that you give at the time you sign up to the API Store as the group ID. It extracts the claim http://wso2.org/claims/organization of a user and uses the value specified in it as the group ID. This way, all users who specify the same organization name belong to the same group and therefore, can view each others' subscriptions and applications. The API Manager also provides flexibility to change this default authentication implementation
我创建了一个 "admin" 应用程序。现在,我创建了一个 "demo" 用户,并为他提供了此应用的所有角色和所有权限。当我连接 "demo" 时,我什至看不到 "admin" 创建的应用程序。
这是一项功能吗?或者只是配置错误? (但我看不到还剩下什么配置)。
是的,这是默认行为。如果您想在用户之间共享 applications/subscriptions,则必须启用共享功能。请参阅 Sharing Applications and Subscriptions 文档。
共享的应用程序将像这样列出。
编辑使其成为经过验证的答案:
文档中的整个段落必须以不同的方式编写,因为它是错误的并且非常混乱。没有“default”分组策略,您必须更改 default 配置才能激活它:
By default, the API Manager considers the organization name that you give at the time you sign up to the API Store as the group ID. It extracts the claim http://wso2.org/claims/organization of a user and uses the value specified in it as the group ID. This way, all users who specify the same organization name belong to the same group and therefore, can view each others' subscriptions and applications. The API Manager also provides flexibility to change this default authentication implementation