Skip to content

Add view helpers #22

Description

@frm

Sometimes we want to conditionally render elements based on the user having permissions or not. We should implement this somehow.

A basic idea:

= if has_permissions?(@conn, :show, @post)

Any thoughts on this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussionOpen for discussion before implementingenhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions