Rails object based permission/authorization engine?
- by Vlad
Hi
I want to add "Sharing documents" feature to my app, like in google documents service. As i see:
User can:
can list/view/create/edit/delete own documents
share own document to everyone - its a public document
share own document to another user with read-only access
share own document to another user with read-write access
view list of own documents and users to whom he gave permission to read and write
view list of foreign documents
view/edit foreign document with read/write permissions
Please tell me, which permission/authorization solution is preffered for my task?