Wow, that looks pretty terrific. It seems like it would be beneficial 
for UserEngine to override the default behavior of rake migrate to have 
it perform a sync_permissions on start.

Surendra Singhi wrote:
> Hello,
>   I have put up an example which shows how to use migrations to add 
> permissions to
> different roles for the various controllers/actions.
> 
> http://cuttingtheredtape.blogspot.com/2006/03/rails-user-engine-adding-permissions.html
> 
> Hope it is useful.
> Cheers.
> --
> Surendra Singhi
> http://ssinghi.kreeti.com, http://www.kreeti.com
> 
> ,----
> | "War is Peace! Freedom is Slavery! Ignorance is Strength!"
> |     -- Orwell, 1984, 1948
> `----


-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
engine-users mailing list
[email protected]
http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org

Reply via email to