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

UFAL/Share submission by email is not working for a user #792

Closed
milanmajchrak opened this issue Oct 18, 2024 · 1 comment · Fixed by #780
Closed

UFAL/Share submission by email is not working for a user #792

milanmajchrak opened this issue Oct 18, 2024 · 1 comment · Fixed by #780
Assignees

Comments

@milanmajchrak
Copy link
Collaborator

Problem description

The user cannot Take a submission by a link.
Reason: The user is not authorized to do that, because the BE endpoint is not receiving the workspaceitem id, so it cannot authorize user to take that submission.
Solution: Send the workspaceitemid from the FE. That id must be added to the share url.

@milanmajchrak milanmajchrak linked a pull request Oct 29, 2024 that will close this issue
@milanmajchrak
Copy link
Collaborator Author

Problem:
The submission cannot be shared with a custom user; it currently only works for the admin.

Solution:
The SuggestionRestController needs to receive the workspaceItemId from the frontend. First, this ID should be sent to the email URL, where it can be used to retrieve the workspaceItemId (wsId) for further processing.

@milanmajchrak milanmajchrak self-assigned this Oct 31, 2024
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 a pull request may close this issue.

1 participant