Exception: OpenLoam::FieldAccessError
- Inherits:
-
NotAuthorizedError
- Object
- StandardError
- Error
- NotAuthorizedError
- OpenLoam::FieldAccessError
- Defined in:
- lib/open_loam/errors.rb
Overview
Raised when a filter/sort is attempted on a custom field the current role may not read (OpenLoam::CustomFieldIndex) — otherwise a filter would be an inference oracle on a restricted field. A NotAuthorizedError so admin controllers render it as 403, like any other field-access denial.