Skip to content
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

Cannot disable cross-tenant subscription feature. #3524

Open
Nishan-SE opened this issue Jan 15, 2025 · 0 comments
Open

Cannot disable cross-tenant subscription feature. #3524

Nishan-SE opened this issue Jan 15, 2025 · 0 comments

Comments

@Nishan-SE
Copy link

Description

The cross-tenant subscription feature is not working as expected when changing "Subscription Availability" from the REST API.

Steps to Reproduce

  1. Start API Manager-3.2.0 pack and update to the latest level.

  2. Start the server with below configurations.
    [apim.devportal]
    enable_cross_tenant_subscriptions = false

  3. Create a new tenant called "wso2.com".

  4. Then create an API using the "carbon. super" tenant.

  5. The "Subscription Availability" dropdown is no longer visible in the publisher UI.

  6. Change the "Subscription Availability" using the below RESTful API [1].

  7. Subscribe to the API using the "wso2.com" tenant user the cross cross-tenant subscription is working as expected even if it is disabled by configuration.

[1] https://apim.docs.wso2.com/en/3.2.0/develop/product-apis/publisher-apis/publisher-v1/publisher-v1/#tag/APIs/paths/~1apis~1%7BapiId%7D/put

Version

3.2.0

Environment Details (with versions)

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant