Moved role constraints into model and removed edit deployment

(cherry picked from commit 7062e7e572d1bf7bf33d3403ced1b03981281de8)
Merge pull request #190 from vuntz/release/roxy/master

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

Removed the single assignment block from constraints