def org_search():
    """
        Organisation REST controller
        - limited to just search_ac for use in Autocompletes
        - allows differential access permissions
    """

    s3.prep = lambda r: r.method > "search_ac"
    return s3_rest_controller(module, "organisation")

# -----------------------------------------------------------------------------
dataset/ETHPy150Open sahana/eden/controllers/org.py/org_search/operator `==` -> `>`