Skip to content

Working With App Permissions

Linda Goldstein edited this page May 3, 2026 · 4 revisions

Last reviewed: 2024-08-27

Casa has custom a custom policy file generator.

Example Usage: bin/rails g policy CasaThing

This will create:

app/policies/casa_thing_policy.rb
spec/policies/casa_thing_policy_spec.rb

See rails g policy --help for more options

Clone this wiki locally