robzienert/CalendarBundle — pull request #4 by Problematic (2011-10-13 22:30:58+00:00)
Title: Add basic security and authentication features

_Very_ basic security features. Out of necessity, this meant adding ownership to calendars and events (to be mapped by the end developer).

I went the security voter route so that the controller code doesn't have to change when we add support for ACLs down the road. Eventually, we may want to move things into an authorization manager or something, but for now, it should work just fine.

And finally, I put the blamer into the manager class, but we may want to have a wrapper creator class eventually, so that the manager doesn't have to worry about validation logic (right now all the methods that deal with the database have to return true; a creator wrapper would solve that).

Aaand... thoughts?