code_corps v0.0.1 CodeCorps.Policy.UserTask View Source

Represents an authorization policy for performing actions on UserTask records. Used to authorize a controller action.

Link to this section Summary

Link to this section Functions

Link to this function create?(user, params) View Source
create?(CodeCorps.User.t(), Ecto.Changeset.t()) :: boolean()
Link to this function delete?(user, user_task) View Source
delete?(CodeCorps.User.t(), CodeCorps.UserTask.t()) :: boolean()
Link to this function update?(user, user_task) View Source
update?(CodeCorps.User.t(), CodeCorps.UserTask.t()) :: boolean()