Pylons/Kotti — pull request #97 by teixas (2012-07-01 21:34:22+00:00)
Title: Add allowed principals

I followed Tags support implementation in order to provide a new content field ``allowed_principals`` that will contain which principals have access to the respective content.

That way would make it pretty easy to check if a particular user have view permission on an object (can be used to retrieve filtered search results) as well as getting all objects that an user (or a role) have view permission.

Currently tests passes but they are failing when trying to set ``allowed_principals`` through the event engine. This can be tested by removing comment in https://github.com/teixas/Kotti/blob/add-allowed-principals/kotti/events.py#L214

Any suggestion about this?