Interface: AccessibleObject<Schema>
Defined in: packages/polizy/src/types.ts:254
Represents a single accessible object and the actions allowed on it
Type Parameters
Schema
Schema extends AuthSchema<any, any, any, any, any>
Properties
actions
actions: keyof
Schema["actionToRelations"][]
Defined in: packages/polizy/src/types.ts:260
List of actions the subject can perform on this specific object identifier
object
object:
TypedObject<Schema>
Defined in: packages/polizy/src/types.ts:258
The specific object identifier (e.g., "doc:1" or "doc:1#field")
parent?
optionalparent?:TypedObject<Schema>
Defined in: packages/polizy/src/types.ts:262
Optional: The direct parent object if this object is part of a hierarchy