Skip to content

Commit

Permalink
Merge pull request #8 from navariltd/devlop1
Browse files Browse the repository at this point in the history
fix - permission level for Guest
  • Loading branch information
maniamartial authored Oct 28, 2024
2 parents b4d1950 + f1dfb0e commit 238e811
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ def load_punch_logs():
pass

def get_shift(biometric_id):
frappe.flags.ignore_permissions = True
user = frappe.get_list("Employee", filters={"attendance_device_id": biometric_id}, fields=["name", "default_shift"])
if user:
first_user = user[0]
Expand Down

0 comments on commit 238e811

Please sign in to comment.