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

Employees are accessible through references via REST #45

Open
alexgutjahr opened this issue Feb 17, 2017 · 0 comments
Open

Employees are accessible through references via REST #45

alexgutjahr opened this issue Feb 17, 2017 · 0 comments
Milestone

Comments

@alexgutjahr
Copy link

When an employee with the role ROLE_EMPLOYEE calls a rest endpoint returning an employee via a reference, i.e. the approver for a travel expense report s/he can access all properties.

Example:
curl -H "Authorization: Bearer $TOKEN" localhost:8080/travelExpenseReports/0/approver

The same employee might not be accessible via employees/$ID.

@alexgutjahr alexgutjahr added this to the Future milestone Feb 17, 2017
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

1 participant