package
1.1.3
Repository: https://github.com/permify/permify.git
Documentation: pkg.go.dev

# Functions

GetAttributeByNameInEntityDefinition retrieves an `AttributeDefinition` from an `EntityDefinition` by its name.
GetEntityByName retrieves an `EntityDefinition` from a `SchemaDefinition` by its name.
GetPermissionByNameInEntityDefinition retrieves an `PermissionDefinition` from an `EntityDefinition` by its name.
GetRelationByNameInEntityDefinition retrieves a `RelationDefinition` from an `EntityDefinition` by its name.
GetRuleByName retrieves the rule definition from the given schema by its name.
GetTypeOfReferenceByNameInEntityDefinition retrieves the type of reference in an `EntityDefinition` by its name.
IsDirectlyRelated checks if a source `RelationReference` is directly related to a target `RelationDefinition`.
No description provided by the author
NewLinkedGraph returns a new instance of LinkedSchemaGraph with the specified base.SchemaDefinition as its schema.
NewSchemaFromEntityAndRuleDefinitions creates a new base.SchemaDefinition from entity and rule definitions.
NewSchemaFromStringDefinitions creates a new `SchemaDefinition` from a list of string definitions.
NewWalker is a constructor for the Walker struct.

# 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

# Variables

No description provided by the author
No description provided by the author

# Structs

LinkedEntrance represents an entry point into the LinkedSchemaGraph, which is used to resolve permissions and expand user sets for a given request.
LinkedSchemaGraph represents a graph of linked schema objects.
Walker is a struct used for traversing a schema.

# Type aliases

LinkedEntranceKind is a string type that represents the kind of LinkedEntrance object.