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

Field "is_verified" dump permissions #1411

Closed
Tracked by #2290
alejandromumo opened this issue Aug 14, 2023 · 0 comments · Fixed by inveniosoftware/invenio-users-resources#107
Closed
Tracked by #2290

Field "is_verified" dump permissions #1411

alejandromumo opened this issue Aug 14, 2023 · 0 comments · Fixed by inveniosoftware/invenio-users-resources#107

Comments

@alejandromumo
Copy link
Member

          Zenodo does not dump the field, therefore is not visible in API queries.

Ideally, we could protect the field and only make it visible to admins. However, it would "pollute" a bit of the record's namespace by introducing user-related permission.

Options:

1 - Do not dump the field at all (I don't see why not)
2 - Add a permission to dump it (e.g. AdminAction(user_management_action))

WDYT?

Originally posted by @alejandromumo in #1399 (comment)

@alejandromumo alejandromumo changed the title Zenodo does not dump the field, therefore is not visible in API queries. Field "is_verified" dump permissions Aug 14, 2023
@kpsherva kpsherva self-assigned this Sep 7, 2023
@kpsherva kpsherva removed their assignment Sep 25, 2023
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.

2 participants