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

UIIN-2689: Replace Promise.all with Promise.allSettled when fetch user's permissions #2348

Merged
merged 3 commits into from
Nov 14, 2023

Conversation

OleksandrHladchenko1
Copy link
Contributor

Purpose

  • Get all the tenant's permissions even if there is an error during fetching.

Approach

  • Replace Promise.all with Promise.allSettled in getUserTenantsPermissions function

Refs

UIIN-2689

Copy link

github-actions bot commented Nov 14, 2023

Jest Unit Test Statistics

    1 files  ±0  228 suites  ±0   14m 38s ⏱️ + 1m 2s
903 tests ±0  901 ✔️ ±0  2 💤 ±0  0 ±0 
908 runs  ±0  906 ✔️ ±0  2 💤 ±0  0 ±0 

Results for commit 3738059. ± Comparison against base commit 4f676be.

♻️ This comment has been updated with latest results.

Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

25.0% 25.0% Coverage
0.0% 0.0% Duplication

@OleksandrHladchenko1 OleksandrHladchenko1 merged commit 3170c56 into master Nov 14, 2023
4 checks passed
@OleksandrHladchenko1 OleksandrHladchenko1 deleted the UIIN-2689 branch November 14, 2023 14:45
mariia-aloshyna pushed a commit that referenced this pull request Nov 24, 2023
mariia-aloshyna added a commit that referenced this pull request Nov 24, 2023
* UIIN-2689: Replace Promise.all with Promise.allSettled (#2348)

(cherry picked from commit 3170c56)

* UIIN-2695: "Something went wrong" error appears when user selects Shared Instance as "Child/Parent Instance" for Local Instance without permissions at Central tenant (#2356)

(cherry picked from commit 7979946)

* Release v10.0.6

---------

Co-authored-by: Oleksandr Hladchenko <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants