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

Home Page | Your Business Apps | Unsubscribed Apps are visible. #1035

Open
tfjanjua opened this issue Sep 25, 2024 · 0 comments
Open

Home Page | Your Business Apps | Unsubscribed Apps are visible. #1035

tfjanjua opened this issue Sep 25, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@tfjanjua
Copy link
Contributor

tfjanjua commented Sep 25, 2024

Current Behavior

On the Home Page, under the "Your Business Apps" heading, unsubscribed apps are incorrectly visible to the user.

Expected Behavior

If the app has been unsubscribed by the subscriber or company admin, so the access of the app should be revoked from the users of the company and app should not be visible in "Your Business Apps" heading at home page.

Steps To Reproduce

  1. Login as App Manager and onboard an app (ex. TestApp) and logout:
    https://portal.com/appReleaseProcess
  2. Login as Company Admin and approved the app (TestApp) and logout:
    https://portal.com/adminboard
  3. Login as any user (ex. Purchaser) and subscribe the app (TestApp) and logout:
    https://portal.com/appMarketplace
  4. Login as Company Admin again and activate the subscription (of TestApp):
    https://portal.com/appSubscription
  5. Go to the "User Management" page and you would see the (TestApp) under the "App Access Management" heading.
  6. Click on the app (TestApp), you would redirected to the "appUserManagement" page to assign App Roles to Users.
  7. Click on "Add Roles" button and assign any App Role to any available Company User (ex. user: IT Admin) and logout.
  8. Login as IT Admin and you would see the app (TestApp) under the "Your Business Apps" heading and then logout.
  9. Login as Purchaser (Subscriber of TestApp) or Admin and unsubscribe the app and logout:
    https://portal.com/companySubscriptions
  10. Login as IT Admin and you would be still seeing the app (TestApp) under the "Your Business Apps" heading.

Findings

API: /api/apps/{subscriptionId}/unsubscribe is not unassigning/revoking the access of app from the users so, thats why users can still see the app in "Your Business Apps" section and access it.
Screenshot 2024-09-25 at 15 59 26
Screenshot 2024-09-25 at 16 00 25

@tfjanjua tfjanjua added the bug Something isn't working label Sep 25, 2024
@tfjanjua tfjanjua self-assigned this Sep 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: NEW USER REQUEST
Development

No branches or pull requests

1 participant