Re: simple authentication with roles

2009-04-10 Thread qwanta
I also wanted to mention that if you try this out with a controller called TestsController, the authentication doesn't seem to work - everyone (even not logged on) is given access to all functions. I found this out the hard way! That's why I renamed it to TrestsController. --~--~-~--~~

simple authentication with roles

2009-04-10 Thread qwanta
After struggling a bit with Auth, especially in terms of doing "role" or "group" authentication, I thought I would post what I found out. Basically each user belongs to a group ("admin", "calibration", etc...) and I wanted to set the authorized controller functions for each group in each individu