As of May 2010, Aegis has has matured to version 2 and offers a great new API with many new features. Here is how you take your Aegis 1 setup and migrate it to Aegis 2:
actionwhere you used to say
crud_somethingmacro is no longer available. Define your permissions using resources instead, which is much more expressive and compact.
denywith a block, that block should now take all the arguments, not the containing
userinside the block.
Aegis::PermissionErrorsomewhere. That error has been renamed to
show => read. The only default aliases left are
edit => updateand
new => create. You can define new aliases.
user.role.namenow returns a string instead of a symbol.
If you would like to do something with the old Aegis 1 code, we archived it into the aegis1 branch.