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