spec/app_root/app/models/power.rb in consul-0.2.3 vs spec/app_root/app/models/power.rb in consul-0.3.0

- old
+ new

@@ -27,9 +27,25 @@ power :always_nil do nil end + power :cakes do + :cakes + end + + power :updatable_cakes do + :updatable_cakes + end + + power :creatable_cakes do + :creatable_cakes + end + + power :destroyable_cakes do + :destroyable_cakes + end + def assignable_user_roles %w[guest admin] end end