Open RusJaI opened 7 hours ago
1. Setup: Organizations and Users: BankA: User usera. BankB: User userb. APIs: Cats and Pizzashack, both created and published by the super admin. Initial Configuration:
2. APIs published using admin credentials, with no organizational restrictions. Performed a Content-Based Search in the public DevPortal, by logging in as admin and organization users: Verified that the search works as expected for all users.
3. Restrictive Configuration: Cats API restricted to BankB organization only. Pizzashack API restricted to BankA organization only.
4. Validation of Restrictions:
DevPortal Login as usera (BankA):
DevPortal Login as userb (BankB):
Testing with Solr console :
In the results set returned for the query to fetch devportal APIs list, it has the organization name
as visible_organizations_ss
value.
Debugging the code :
The solr query to fetch devportal APIs contain organization ID
for the visible_organizations_ss
field.
ex : visible_organizations_ss:(all OR a2ecd49d-9f9e-47ad-bb3f-dbf045d8d7e9)
and all
is not identified as a keyword by solr
Description
Related to https://github.com/wso2/api-manager/issues/2925
Version
No response