ApplicationPolicy(T)
The default Pundit policy that all other policies should inherit from.
Should you with to update the default policy definitions, run lucky pundit.init and override where needed.
Constructors
new(user : User | Nil, record : T | Nil = nil)
A policy takes in a user that might be nil, as well as an object that may be nil.
These are available in all policy check methods for access.
Instance methods
record
Sourceuser
Source