简体   繁体   中英

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. 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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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