-
Notifications
You must be signed in to change notification settings - Fork 0
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
don't require email addresses to match to edit jobs #444
Labels
Comments
drjova
added
project: ui
status: ready for refinement
and removed
status: new
project: ui
labels
Feb 12, 2024
drjova
added a commit
to inspirehep/inspirehep
that referenced
this issue
Mar 14, 2024
drjova
added a commit
to inspirehep/inspirehep
that referenced
this issue
Mar 14, 2024
drjova
added a commit
to inspirehep/inspirehep
that referenced
this issue
Mar 15, 2024
@michamos with this change we have some cases that are failing for example: I guess these are wrong assumptions from the beginning, some of them are:
|
drjova
added a commit
to inspirehep/inspirehep
that referenced
this issue
Mar 15, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A user reports that he can't edit his job post: https://cern.service-now.com/nav_to.do?uri=%2Fu_request_fulfillment.do%3Fsys_id%3D7d5c1665c3c082102fec1bddd40131d9%26sysparm_view%3Dtabs_new%26sysparm_domain%3Dnull%26sysparm_domain_scope%3Dnull. After investigating, it turns out that the check in https://github.com/inspirehep/inspirehep/blob/cd81c540c65175d3f9a6a45bdc847e8dcc945ea2/backend/inspirehep/submissions/views.py#L528-L533 is wrong. Email addresses can change, so we shouldn't require them to match. The ORCID check is sufficient.
Additionally, it might make sense to refactor this to align it with the similar permission check in https://github.com/inspirehep/inspirehep/blob/cd81c540c65175d3f9a6a45bdc847e8dcc945ea2/backend/inspirehep/records/marshmallow/jobs/ui.py#L25-L53 which determines whether the
edit
button gets displayed.The text was updated successfully, but these errors were encountered: