View Source Lightning.Policies.Exports (Lightning v2.10.4)
The Bodyguard Policy module for Exports
Summary
Functions
Callback implementation for Bodyguard.Policy.authorize/3
.
Types
@type actions() :: :download
Functions
@spec authorize(actions(), Lightning.Accounts.User.t(), Lightning.Projects.File.t()) :: boolean() | {:error, :forbidden}
Callback implementation for Bodyguard.Policy.authorize/3
.