def get_users_with_role(role):
	frappe.only_for("System Manager")
	return _get_user_with_role(role)
Esempio n. 2
0
def get_users_with_role(role):
    frappe.only_for(("System Manager", "Local Admin"))
    return _get_user_with_role(role)