Data and permissions
Woniru uses object metadata to describe fields and record layouts. The schema loaded by the database engine is consumed by record pages, Object Manager, and the generic API. An object has an API name and fields; a record is a row belonging to that object. References connect records across objects.
Query and mutation path
core_engines/databaseSingleton.js owns shared database access. core_engines/queryContainer.js builds object queries, including columns, conditions, logic, and limits. Controllers and the versioned platform API use these facilities instead of constructing independent data access behavior for each page. The generic API maps incoming field names against the object schema before mutation and rejects unknown fields.
The query builder now resolves adaptive rollup fields to their effective scalar value, including on joined paths. Record writes recalculate affected rollups, and name-field metadata is used to link record names across lists and reports. See Rollups and name fields.
Access layers
The code and interface expose profiles, permission sets, object default access, role hierarchy, public groups, and sharing rules. core_engines/permmissionEngine.js implements permission calculations. A query is run with request context so record and object access can be applied; particular internal operations can explicitly request bypass options. Treat bypass options as privileged implementation details, not a general extension pattern.
The record picker now exposes respectAccess. For ordinary-object searches and label lookup, setting it to true uses request object and record access; its default path bypasses those checks. Review this property when placing a picker in a custom component that should show only accessible records. The NameObject lookup path uses a separate name index query.
For an access problem, inspect in this order: the active user, profile, assigned permission sets, object and field access, organization-wide default, role hierarchy, then sharing rules. A missing row or action may reflect effective permissions rather than absent data.
Metadata changes
Object Manager writes object and field metadata. Application pages, the API, and modules can depend on field API names. When changing a field, search for that name in components, modules, reports, and automation definitions. Test both a user with full access and a representative restricted user. Metadata mutations are logged through the audit trail in several API paths; do not assume all changes use identical audit semantics.
Functional instructions: Object Manager and Access control.