WordPress - Capabilities depending on a post status
===

I'm new in WordPress and I hope you can help me with my problems.

Is it possible to somehow connect the capabilities with the post status?
I would like that some roles can edit or can see the posts only if the post has a specific status, for example the Collaborator can not edit the post if it's in the state "in review", and the Editor can see and edit the posts only if they have the state "submitted for the review", etc.
I have created custom statuses using Edit Flow plugin and now I would like to set the capabilities to the roles depending on a specific post status.
Is there some plugin that I can use for that or should I code it by myself? And if I should code it, where should I do it and can you recommend me some links where I can read and learn how to do it?

Thanks a lot for the answers!
