module Praetorian::Policy

Overview

A Policy is a collection of methods that responds to authorization queries. The ones listed below are defaults and should be overwritten when writing Policy classes.

Defined in:

praetorian/policy.cr

Instance Method Summary

Instance Method Detail

def create? #

[View source]
def destroy? #

[View source]
def edit? #

[View source]
def index? #

[View source]
def new? #

[View source]
def show? #

[View source]
def update? #

[View source]