# Functions
FilterByPolicies is used as a scope for gorm.DB to override policy-based data filtering.
FilterWithExtraData is used as a scope for gorm.DB to provide extra key-value pairs as input during policy-based data filtering.
FilterWithQueries is used as a scope for gorm.DB to override policy-based data filtering.
No description provided by the author
ResolveResource parse given model and resolve resource type and resource values using "opa" tags Typically used together with opa.AllowResource as manual policy enforcement.
SkipFiltering is used as a scope for gorm.DB to skip policy-based data filtering e.g.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
# Structs
Filter is a marker type that can be used in model struct as Struct Field.
FilteredModel is a marker type that can be used in model struct as Embedded Struct.
No description provided by the author
No description provided by the author
Metadata contains all static/declarative information of a model struct.
OPATag supported key-value pairs in `opa` tag.
No description provided by the author
No description provided by the author
# Type aliases
DBOperationFlag bitwise Flag of tenancy flag mode.
No description provided by the author