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

Add api endpoint for retrieving existing timesheet entries #8

Open
armincerf opened this issue Sep 2, 2021 · 1 comment
Open

Add api endpoint for retrieving existing timesheet entries #8

armincerf opened this issue Sep 2, 2021 · 1 comment

Comments

@armincerf
Copy link
Member

  • add entry to openapi.edn, GET /users/{id}/timesheet, only retrieves timesheet for given users id
@johantonelli
Copy link
Member

Do we want to restrict to just one user ID?
I'm not 100% on the rules in site, but an endpoint for fetching all timesheets may restrict a user to only see their own but an admin can see all for HR-related features.

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

No branches or pull requests

2 participants