Unlike the standard call to ctdbFilterRecord() to establish a temporary, user specific filter for data record reads, a new type of permanent filter can be established that is system-wide (i.e., once established the filter applies to all users).
This powerful capability will enable c-treeDB users to implement advanced customizations just before reading and/or writing records, such as customized record read and/or record write constraints or row level security. Refer to the FairCom DB section Row-Level Permanent Callback Filters for complete details regarding the callback implementations.
FairCom DB callbacks
After establishing the system-wide filter, you must add your custom code to the following callback functions in module ctclbk.c:
c-treeDB C API Methods
c-treeDB C++ API methods