简体   繁体   English

WSO2:应用程序和用户

[英]WSO2 : application and users

I've created an application as "admin". 我已将应用程序创建为“管理员”。 Now, I create a "demo" user, and give him all roles and all permissions for this app. 现在,我创建一个“演示”用户,并为他提供此应用程序的所有角色和所有权限。 When I connect with "demo" I can't even see the application created by "admin". 当我连接“演示”时,我什至看不到“管理员”创建的应用程序。

Is this a feature ? 这是功能吗? or just a misconfiguration ? 还是只是配置错误? (but I don't see what config is left). (但我看不到剩下的配置)。

Yes, that's the default behavior. 是的,这是默认行为。 If you want to share applications/subscriptions among users, you have to enable the sharing feature. 如果要在用户之间共享应用程序/订阅,则必须启用共享功能。 See Sharing Applications and Subscriptions docs for that. 请参阅共享应用程序和订阅文档。

Shared apps will be listed like this. 共享的应用程序将像这样列出。

在此处输入图片说明

EDIT to make this the validated answer : 编辑使其成为经过验证的答案:

This whole paragraph from the documentation has to be written differently because it's wrong and very confusing. 文档中的整个段落必须用不同的方式编写,因为它是错误的并且非常混乱。 There is no " default " strategy of grouping, you have to alter the default configuration to activate it : 没有分组的“ 默认 ”策略,您必须更改默认配置才能将其激活:

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. 默认情况下 ,API管理器会将您在注册API商店时提供的组织名称视为组ID。 It extracts the claim http://wso2.org/claims/organization of a user and uses the value specified in it as the group ID. 它提取用户的声明http://wso2.org/claims/organization ,并将其中指定的值用作组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 API Manager还提供了更改此默认身份验证实现的灵活性

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

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