code_corps v0.0.1 CodeCorps.Policy.ProjectUser View Source

Handles User authorization of actions on ProjectUser records

Link to this section Summary

Link to this section Functions

Link to this function create?(user, params) View Source
create?(CodeCorps.User.t(), map()) :: boolean()
Link to this function delete?(user, record) View Source
delete?(CodeCorps.User.t(), CodeCorps.ProjectUser.t()) :: boolean()
Link to this function update?(user, existing_record, params) View Source
update?(CodeCorps.User.t(), CodeCorps.ProjectUser.t(), map()) :: boolean()