Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

1582 Fix experts invitations related permissions handling #1583

Merged

Conversation

joseAyudarte91
Copy link
Contributor

[Re #1582]

Fixed query to get experts results needed to be able to detect an expert user needs to be converted to an approved user.

Besides, we have instrumented the code of update stakeholder-related function to unassign unapproved user role from the expert user in case it is detected as such, and be able to assign the approved user role in that case as well. The added functions have their rollbacks as well and we have also added one for the update stakeholder's final function, to have a consistent behaviour.

On the other hand the endpoint to accept invitations looks not to be in use and such this looks like the only entrypoint to fix, but we will check.

Now we are also catching better the exceptions, using Throwable class.

This issue is related to #1530 and #1543 refactors.

[Re #1582]

Fixed query to get experts results needed to be able to detect an expert
user needs to be converted to an approved user.

Besides, we have instrumented the code of update stakeholder-related
function to unassign unapproved user role from the expert user in case
it is detected as such, and be able to assign the approved user role in
that case as well. The added functions have their rollbacks as well and
we have also added one for the update stakeholder's final function, to
have a consistent behaviour.

On the other hand the endpoint to accept invitations looks not to be in
use and such this looks like the only entrypoint to fix, but we will
check.

Now we are also catching better the exceptions, using Throwable class.
@joseAyudarte91 joseAyudarte91 merged commit a7dd844 into main Aug 31, 2023
@joseAyudarte91 joseAyudarte91 deleted the 1582-fix-expert-invitations-permissions-handling branch August 31, 2023 20:53
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant