Module: Oso

Defined in:
lib/oso.rb,
lib/oso/oso.rb,
lib/oso/polar.rb,
lib/oso/errors.rb,
lib/oso/version.rb,
lib/oso/polar/ffi.rb,
lib/oso/polar/host.rb,
lib/oso/polar/polar.rb,
lib/oso/polar/query.rb,
lib/oso/polar/errors.rb,
lib/oso/polar/pattern.rb,
lib/oso/polar/variable.rb,
lib/oso/polar/ffi/error.rb,
lib/oso/polar/ffi/polar.rb,
lib/oso/polar/ffi/query.rb,
lib/oso/polar/predicate.rb,
lib/oso/polar/expression.rb,
lib/oso/polar/data/filter.rb,
lib/oso/polar/query_event.rb,
lib/oso/polar/data/adapter.rb,
lib/oso/polar/data_filtering.rb,
lib/oso/polar/ffi/rust_string.rb,
lib/oso/polar/data/adapter/active_record_adapter.rb

Overview

Top-level namespace for Oso authorization library.

Defined Under Namespace

Modules: Polar Classes: AuthorizationError, Error, ForbiddenError, NotFoundError, Oso

Constant Summary collapse

Relation =
::Oso::Polar::DataFiltering::Relation
VERSION =
'0.27.3'

Class Method Summary collapse

Class Method Details

.new(not_found_error: NotFoundError, forbidden_error: ForbiddenError, read_action: 'read') ⇒ Object



12
13
14
# File 'lib/oso.rb', line 12

def self.new(not_found_error: NotFoundError, forbidden_error: ForbiddenError, read_action: 'read')
  ::Oso::Oso.new(not_found_error: not_found_error, forbidden_error: forbidden_error, read_action: read_action)
end