hrms icon indicating copy to clipboard operation
hrms copied to clipboard

2Fa for HRMS mobile app

Open sammish opened this issue 1 year ago • 2 comments

Is your feature request related to a problem? Please describe.

Hello, Team

Kindly Enable 2fa feature in HRMS Mobile app

image

sammish avatar Dec 26 '23 12:12 sammish

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.

sammish avatar Dec 28 '23 12:12 sammish

@ruchamahabal

Hi, Could you please consider this issue with priority based ?

sammish avatar Dec 28 '23 12:12 sammish

https://github.com/frappe/hrms/pull/1923

ruchamahabal avatar Jul 15 '24 14:07 ruchamahabal