eclipse / kapua

Eclipse Public License 2.0
222 stars 160 forks source link

:recycle: reenabled mfa retrieval and deletion for users, removed use… #3986

Closed dseurotech closed 6 months ago

dseurotech commented 6 months ago

…less scopeId for self-managing of Mfa

Removes the deprecation from users managing other users for mfa options query, deletion and trust removal (deprecation on mfa creation remains as it is the prerogative of the user self-managing her own credentials.

Moved self-care mfa apis from /{scopeId}/user/mfa... to /user/mfa... as the scope does not apply to this case anyway.

codecov[bot] commented 6 months ago

Codecov Report

Attention: Patch coverage is 0% with 10 lines in your changes are missing coverage. Please review.

Project coverage is 21.10%. Comparing base (e839014) to head (a105320). Report is 11 commits behind head on develop.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/eclipse/kapua/pull/3986/graphs/tree.svg?width=650&height=150&src=pr&token=1P4N4CApH8&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eclipse)](https://app.codecov.io/gh/eclipse/kapua/pull/3986?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eclipse) ```diff @@ Coverage Diff @@ ## develop #3986 +/- ## ============================================= - Coverage 21.20% 21.10% -0.10% Complexity 10 10 ============================================= Files 1947 1944 -3 Lines 41327 41329 +2 Branches 3801 3801 ============================================= - Hits 8762 8723 -39 - Misses 32159 32202 +43 + Partials 406 404 -2 ``` | [Files](https://app.codecov.io/gh/eclipse/kapua/pull/3986?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eclipse) | Coverage Δ | | |---|---|---| | [.../kapua/app/api/resources/v1/resources/UserMfa.java](https://app.codecov.io/gh/eclipse/kapua/pull/3986?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eclipse#diff-cmVzdC1hcGkvcmVzb3VyY2VzL3NyYy9tYWluL2phdmEvb3JnL2VjbGlwc2Uva2FwdWEvYXBwL2FwaS9yZXNvdXJjZXMvdjEvcmVzb3VyY2VzL1VzZXJNZmEuamF2YQ==) | `0.00% <ø> (ø)` | | | [...se/kapua/app/api/resources/v1/resources/Users.java](https://app.codecov.io/gh/eclipse/kapua/pull/3986?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eclipse#diff-cmVzdC1hcGkvcmVzb3VyY2VzL3NyYy9tYWluL2phdmEvb3JnL2VjbGlwc2Uva2FwdWEvYXBwL2FwaS9yZXNvdXJjZXMvdjEvcmVzb3VyY2VzL1VzZXJzLmphdmE=) | `0.00% <ø> (ø)` | | | [...kapua/app/api/resources/v1/resources/UsersMfa.java](https://app.codecov.io/gh/eclipse/kapua/pull/3986?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eclipse#diff-cmVzdC1hcGkvcmVzb3VyY2VzL3NyYy9tYWluL2phdmEvb3JnL2VjbGlwc2Uva2FwdWEvYXBwL2FwaS9yZXNvdXJjZXMvdjEvcmVzb3VyY2VzL1VzZXJzTWZhLmphdmE=) | `0.00% <0.00%> (ø)` | | ... and [38 files with indirect coverage changes](https://app.codecov.io/gh/eclipse/kapua/pull/3986/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eclipse)