Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreatedByUpdatedByHook ¶
CreatedByUpdatedByHook automatically sets created_by and updated_by fields
func EntityMutatePermission ¶
EntityMutatePermission checks if the current user has permission to perform mutation operations This hook is applied to external API requests (GraphQL/REST) where isInternalOperationContextValue is not set
func EntityReadPermission ¶
func EntityReadPermission() ent.Interceptor
EntityReadPermission creates an interceptor for read operations This interceptor is applied to external API requests (GraphQL/REST) where isInternalOperationContextValue is not set
Types ¶
Click to show internal directories.
Click to hide internal directories.