hrms
hrms copied to clipboard
2Fa for HRMS mobile app
Is your feature request related to a problem? Please describe.
Hello, Team
Kindly Enable 2fa feature in HRMS Mobile app
Traceback (most recent call last):
File "apps/frappe/frappe/app.py", line 110, in application
response = frappe.api.handle(request)
File "apps/frappe/frappe/api/init.py", line 49, in handle
data = endpoint(**arguments)
File "apps/frappe/frappe/api/v1.py", line 36, in handle_rpc_call
return frappe.handler.handle()
File "apps/frappe/frappe/handler.py", line 49, in handle
data = execute_cmd(cmd)
File "apps/frappe/frappe/handler.py", line 82, in execute_cmd
is_whitelisted(method)
File "apps/frappe/frappe/init.py", line 859, in is_whitelisted
throw(msg, PermissionError, title="Method Not Allowed")
File "apps/frappe/frappe/init.py", line 603, in throw
msgprint(
File "apps/frappe/frappe/init.py", line 575, in msgprint
raiseexception()
File "apps/frappe/frappe/init.py", line 526, in raiseexception
raise exc
frappe.exceptions.PermissionError: You are not permitted to access this resource.
Function hrms.api.get_current_employee_info is not whitelisted.
@ruchamahabal
Hi, Could you please consider this issue with priority based ?
https://github.com/frappe/hrms/pull/1923