Moved role constraints into model and removed edit deployment

(cherry picked from commit aa6290199261400be0f71dd5d638f384fb467f02)
Merge pull request #217 from vuntz/release/roxy/master

Moved role constraints into model and removed edit deployment
Removed the single assignment block from constraints
Merge pull request #218 from tboerger/feature/roxy/fix-constraints

Removed the single assignment block from constraints