Skip to content

Commit

Permalink
Remove API login requirement, contact names but no phone or emails ar…
Browse files Browse the repository at this point in the history
…e returned
  • Loading branch information
jpnavarro committed Mar 22, 2023
1 parent 2934c6a commit 139a37f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
v2.1.1 2023-03-22 JP
- Remove API login requirement, contact names but no phone or emails are returned

v2.1.0 2022-12-26 JP
- Ordered Cancel button left, Save button right
- Added LogEntry fields that reference host, staff, and event for expanded logging
Expand Down
2 changes: 1 addition & 1 deletion Operations_ServiceIndex_Django/services/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -799,7 +799,7 @@ def make_pdf(request):
context = {'services':services}
return do_pdf('services/services_for_pdf.html', context)

@user_passes_test(viewers_check, login_url=reverse_lazy('services:unprivileged'))
#@user_passes_test(viewers_check, login_url=reverse_lazy('services:unprivileged'))
def api_hosts(request):
objects = Host.objects.all()
serializer = Host_Serializer(objects, many=True)
Expand Down

0 comments on commit 139a37f

Please sign in to comment.