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

Users API: Implement search with database #2

Closed
6 tasks done
lnielsen opened this issue Jan 27, 2022 · 0 comments · Fixed by #5
Closed
6 tasks done

Users API: Implement search with database #2

lnielsen opened this issue Jan 27, 2022 · 0 comments · Fixed by #5
Assignees

Comments

@lnielsen
Copy link
Member

lnielsen commented Jan 27, 2022

Requires #1

Implement the service's search method using just the database layer (i.e. the datastore implemented in Invenio-accounts).

Service:

  • Define service method
  • Define service config
  • Define links template
  • Define a service schema
  • Define a simple permission policy (can be used to block all methods not needed in the Records service).
  • Define result object/list

Resource:

  • Probably doesn't need to be customised.

Both /api/users and /api/groups should require an authenticated user to access.

The method is supposed to be rewritten once we're able to index users and groups in Elasticsearch, so no parameter parsing is needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants