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

Ability for App or Service Provider to Decline the Subscription request #1371

Open
10 tasks
saadanzari opened this issue Nov 25, 2024 · 0 comments
Open
10 tasks
Labels
enhancement New feature or request

Comments

@saadanzari
Copy link
Contributor

Description

We have apps and service’s subscriptions which we want to “Decline” by App/Service Provider or Admin type of users. Currently we only have Activate and Deactivate Subscription functionality by App/Service Provider type of users.

Acceptance Criteria

  • App/Service Provider or Admin type of users could “Decline” the subscription request, made by the users of same company or another company.
  • App/Service Provider or Admin type of users wouldn’t be able to Re-Activate the declined subscription request.
  • The declination can only take place after the subscription request and before the activation of the subscription request.
  • Subscription request would just simply be removed from the list of subscription requests, after the declination.
  • Frontend may ask for the confirmation of declination before sending request to backend.
  • This declination would remove the subscription request but requester (subscriber) would still have the possibility to subscribe the same App/Service from the same, App/Service Details page.

Additional Information

  1. Frontend would still be looking at the isSubscribed param from api/apps/{appId} API to make decisions upon showing different statuses of subscription on App Details Page
  2. Frontend would need to show another button as “Decline“ on App/Service Subscription page only when "offerSubscriptionStatus": "PENDING" in /api/Apps/provided/subscription-status API.
  3. Frontend may show a confirmation box to user and then call this new API, when user confirm.
  4. Frontend would have to refresh the list after the declination.

Reference

eclipse-tractusx/portal-backend#1140

@saadanzari saadanzari added the enhancement New feature or request label Nov 25, 2024
@github-project-automation github-project-automation bot moved this to NEW USER REQUEST in Portal Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: NEW USER REQUEST
Development

No branches or pull requests

1 participant