Consul 0.5.0 is faster for admins, allows to define multiple powers at once

When calling a scope like current_power.user?(user), Consul will no longer trigger a query if the users power selects all records (SELECT * from users). This should make such checks much faster for users who can access many records, like admins.

You can now define multiple powers at once:

power :users, :updatable_users, :creatable_users do
  ...
end
Henning Koch Over 11 years ago