Vac Engine v1.1.1
  • GUIDES
  • Modules

    View Source VacEngineWeb.PermissionHelpers (Vac Engine v1.1.1)

    Provides functions necessary to check persissions.

    Link to this section Summary

    Functions

    can!(val, action)
    can!(val, action, scope)
    can?(target, action)
    can?(role, action, scope)
    check!(bool)
    denied!()
    has?(target, action)
    has?(role, action, scope)
    myself!(a, b)
    myself?(a, b)
    not_myself!(a, b)

    Link to this section Functions

    Link to this function

    can!(val, action)

    View Source
    Link to this function

    can!(val, action, scope)

    View Source
    Link to this function

    can?(target, action)

    View Source
    Link to this function

    can?(role, action, scope)

    View Source
    Link to this function

    check!(bool)

    View Source
    Link to this function

    denied!()

    View Source
    Link to this function

    has?(target, action)

    View Source
    Link to this function

    has?(role, action, scope)

    View Source
    Link to this function

    myself!(a, b)

    View Source
    Link to this function

    myself?(a, b)

    View Source
    Link to this function

    not_myself!(a, b)

    View Source

    On Hex.pm: Package Preview (current file)

    Built using ExDoc (v0.28.0) for the Elixir programming language