Adding permissions to roles - example

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 S.
http://ssinghi.kreeti.com, http://www.kreeti.com

,----
| “War is Peace! Freedom is Slavery! Ignorance is Strength!”
| – Orwell, 1984, 1948
`----

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 S. 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 S.
http://ssinghi.kreeti.com, http://www.kreeti.com

,----
| “War is Peace! Freedom is Slavery! Ignorance is Strength!”
| – Orwell, 1984, 1948
`----

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs