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

Subscriptions are not displaying in the profile page if the user has a subscription with "ALL APIs" scope #894

Closed
dhandapanitrimble opened this issue Sep 7, 2020 · 5 comments · Fixed by #948
Assignees
Labels
P1 High-priority issues. (t) Bug Bug reports (actual behavior is different than the expected behavior).

Comments

@dhandapanitrimble
Copy link

dhandapanitrimble commented Sep 7, 2020

Bug description
If the User has as a subscription with "All Apis" scope, Subscriptions(with any scope) are not displaying in the Profile page.

Reproduction steps

  1. Add "All Apis" scope subscription for a user
  2. Go to the profile page and check the subscriptions list in the developer portal

Expected behavior

The subscription list should be displayed in the Profile page.

Is your portal managed or self-hosted?

Managed

Environment

  • Operating system: Windows
  • Browser: Google Chrome

Note:
Subscriptions are displaying if we delete the "All Apis" scope subscription.

@mikebudzynski
Copy link
Contributor

We do not include "all APIs" and API-specific subscriptions by design. Can you elaborate on your scenario?

@mikebudzynski mikebudzynski added (t) Feature request Requests for new functionality and features. Response needed Issues, which require a response from the author. labels Sep 8, 2020
@dhandapanitrimble
Copy link
Author

dhandapanitrimble commented Sep 9, 2020

Hi Mike @mikebudzynski ,
Before recent changes, If a user has an "All APIs" scope subscription then it was used to display in the subscriptions list under the profile page. After the recent changes, if the user has the "All APIs" scope subscription, none of the subscriptions are displaying in the profile page subscription list, and it's empty.
Once we delete the "All APIs" scope subscription which associated to the user, then all other subscriptions(product specific subscriptions) are displaying in the profile page.
For example. A user has below subscriptions.

  1. testsub1 (product specific)
  2. testsub2 (product specific)
  3. testsub3 (All APIs scope)
    In this case, currently, none of the above subscriptions are displaying on the profile page. Before the latest changes, it was used to display all the above(3) subscriptions.
    If we delete testsub3 (All APIs scope) then other subscriptions(2) are displaying on the profile page.

@mikebudzynski mikebudzynski added (t) Bug Bug reports (actual behavior is different than the expected behavior). and removed Response needed Issues, which require a response from the author. (t) Feature request Requests for new functionality and features. labels Sep 18, 2020
@mikebudzynski
Copy link
Contributor

@dhandapanitrimble Thanks for bringing this up. We'll work on a fix:

  • All-APIs subscriptions will never be displayed in the developer portal
  • API-specific subscriptions will never be displayed in the developer portal
  • Product-specific subscriptions will always be displayed in the developer portal (regardless if there's an all-APIs subscription assigned to a user)

@mikebudzynski mikebudzynski added the P1 High-priority issues. label Sep 18, 2020
@mkowalskigps
Copy link

@mikebudzynski can you elaborate on the reason for not showing API specific subscriptions in the developer portal? We recently noticed this and had originally thought it was a bug as opposed to intentional.

@mikebudzynski
Copy link
Contributor

@mkowalskigps We've decided to change the behavior and show all subscriptions in the user profile. Keep in mind, that users can create only Product subscriptions. API-scoped and all-APIs subscriptions can be created by service administrators.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P1 High-priority issues. (t) Bug Bug reports (actual behavior is different than the expected behavior).
Projects
None yet
4 participants