class

ApplicationPolicy(T)

Inherits Reference < Object

Constructors

new(user : User | Nil, record : T)

Swap out User for your user class, if needed!

Source

Instance methods

create?
Source
delete?
Source
edit?
Source
index?
Source
new?
Source
record
Source
show?
Source
update?
Source
user
Source