moo.core.code.derive_sandbox_field_names
- moo.core.code.derive_sandbox_field_names(model)
All field, FK-attname, and reverse-accessor names on model whose read requires the “read” permission.
pkis added explicitly (it is a Model property, not in _meta.get_fields()). Underscore-prefixed names are excluded because the sandbox blocks all underscore reads;aclis excluded — it is grant-checked separately.- Return type:
frozenset