High Rails

Use Pundit for authorization

Rule Description

Pundit policies for authorization. `authorize @record` in controllers. Policy classes match models.

Included in Rulesets

Rails Standards
52 rules • 1 standard
View
Ruby Style Guide
33 rules • 1 standard
View
Code Review Standards
214 rules • 0 standards
View

Add This Rule

Sign in to add this rule to your workspace

Sign in with GitHub

Details

Severity
High
Category
Rails
Used in
3 rulesets