Skip to content

Working With App Permissions

Shen Yang edited this page Aug 28, 2024 · 2 revisions

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